binutils-gdb/ld/testsuite/ld-scripts/expr2.t

12 lines
125 B
Perl

SECTIONS
{
. = 0xc000;
.text :
{
_text = .;
*(.text)
}
_end = .;
}
ASSERT (_end - _text <= 0x100, "fail");