2
0
mirror of https://sourceware.org/git/binutils-gdb.git synced 2025-02-23 13:21:43 +08:00
binutils-gdb/ld/testsuite/ld-elf/pr23648.t

11 lines
172 B
Perl
Raw Normal View History

MEMORY { code : ORIGIN = 0, LENGTH = 8M }
SECTIONS
{
ENTRY (entry)
.text 1M : { *(.text*) } >code
/DISCARD/ : { *(*) }
}
foo = LENGTH (code) != 8M ? test0 : test1;