old-cross-binutils/ld/testsuite/ld-scripts/assert.t
2007-07-13 09:09:25 +00:00

10 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) }
}