1a766c6843
bfd/ 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/13177 * elflink.c (elf_gc_sweep_symbol): Also hide symbols without PLT nor GOT references. ld/testsuite/ 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/13177 * ld-elf/pr13177.d: New. * ld-elf/pr13177.s: Likewise.
11 lines
343 B
Makefile
11 lines
343 B
Makefile
#source: pr13177.s
|
|
#ld: --gc-sections -shared
|
|
#readelf: -s -D --wide
|
|
#notarget: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-*
|
|
#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-*
|
|
# generic linker targets don't support --gc-sections, nor do a bunch of others
|
|
|
|
#failif
|
|
#...
|
|
.*: 0+0 +0 +NOTYPE +GLOBAL +DEFAULT +UND bar
|
|
#...
|