Retro68/binutils/ld/testsuite/ld-scripts/defined.t
2017-04-10 13:32:00 +02:00

9 lines
182 B
Raku

SECTIONS {
. = SIZEOF_HEADERS;
.text : { *(.text) }
.data : { *(.data) }
.bss : { *(.bss) *(COMMON) }
}
value1 = DEFINED (defined) ? 1 : 2;
value2 = DEFINED (undefined) ? 1 : 2;