mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
3d3e6bc3f4
2012-03-14 H.J. Lu <hongjiu.lu@intel.com> PR ld/13839 * ld-elf/pr13839.d: New. * ld-elf/pr13839.s: Likewise. * ld-elf/pr13839.t: Likewise.
10 lines
143 B
Raku
10 lines
143 B
Raku
SECTIONS {
|
|
.text : {
|
|
_text = .;
|
|
*(.text)
|
|
}
|
|
_end = .;
|
|
/DISCARD/ : { *(.*) }
|
|
}
|
|
. = ASSERT((_end - _text <= (512 * 1024 * 1024)), "foo");
|