mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
a1438fce30
* testsuite/ld-script/map-address.d, * testsuite/ld-script/map-address.t: Add a test for testing DEFINED in map output.
12 lines
145 B
Perl
12 lines
145 B
Perl
SECTIONS
|
|
{
|
|
def1 = DEFINED(foo) ? 0x10 : 0x20;
|
|
def2 = def1;
|
|
. = 0x10001;
|
|
foo = .;
|
|
. += 0x200;
|
|
bar = .;
|
|
. = ALIGN (4);
|
|
frob = .;
|
|
}
|