Retro68/binutils/ld/testsuite/ld-scripts/defined.t

8 lines
161 B
Perl
Raw Normal View History

2012-03-26 19:18:29 +00:00
SECTIONS {
.text : { *(.text) }
.data : { *(.data) }
.bss : { *(.bss) *(COMMON) }
}
value1 = DEFINED (defined) ? 1 : 2;
value2 = DEFINED (undefined) ? 1 : 2;