mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-19 15:23:30 +08:00
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;
|