Retro68/binutils/ld/testsuite/ld-scripts/assert.t
2012-03-26 21:18:29 +02:00

11 lines
219 B
Perl

SECTIONS
{
.empty : {
here = . == ADDR(.empty);
ASSERT (. == ADDR(.empty), "dot is not ADDR");
ASSERT (here, "here is zero");
}
ASSERT (!SIZEOF(.empty), "Empty is not empty")
/DISCARD/ : { *(.reginfo) }
}