mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
7e00df65a4
PR 23648 * testsuite/ld-elf/pr23648.d, * testsuite/ld-elf/pr23648.s, * testsuite/ld-elf/pr23648.t: New test.
11 lines
172 B
Perl
11 lines
172 B
Perl
MEMORY { code : ORIGIN = 0, LENGTH = 8M }
|
|
|
|
SECTIONS
|
|
{
|
|
ENTRY (entry)
|
|
.text 1M : { *(.text*) } >code
|
|
/DISCARD/ : { *(*) }
|
|
}
|
|
|
|
foo = LENGTH (code) != 8M ? test0 : test1;
|