mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
931804de6c
* ld-scripts/defined6.s, * ld-scripts/defined6.t, * ld-scripts/defined6.d: New test. * ld-scripts/defined.exp: Run it.
22 lines
471 B
Perl
22 lines
471 B
Perl
SECTIONS
|
|
{
|
|
.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);
|