Retro68/binutils/ld/testsuite/ld-elf/pr13839.t

10 lines
143 B
Raku

SECTIONS {
.text : {
_text = .;
*(.text)
}
_end = .;
/DISCARD/ : { *(.*) }
}
. = ASSERT((_end - _text <= (512 * 1024 * 1024)), "foo");