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

23 lines
493 B
Perl

SECTIONS
{
. = SIZEOF_HEADERS;
.text : { *(.text) }
.data : { *(.data) }
.bss : { *(.bss) *(COMMON) }
}
defined_pre = DEFINED (defined);
defined = 1;
defined_post = DEFINED (defined);
undef_pre = DEFINED (undef);
undef = 1;
undef_post = DEFINED (undef);
common_pre = DEFINED (common);
common = 1;
common_post = DEFINED (common);
weak_pre = DEFINED (weak);
weak = 1;
weak_post = DEFINED (weak);
undefweak_pre = DEFINED (undefweak);
undefweak = 1;
undefweak_post = DEFINED (undefweak);