Also hide symbols without PLT nor GOT references.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Sep 2011 01:17:16 +0000 (01:17 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Sep 2011 01:17:16 +0000 (01:17 +0000)
commit1a766c6843ce0005fee23633b3b30c98e81a7b07
treeedbea425f1029e549fe635c8ce82f666dc6ef977
parentfd91d41947667d30f47b06c45cc57d4b4fcefade
Also hide symbols without PLT nor GOT references.

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.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/pr13177.d [new file with mode: 0644]
ld/testsuite/ld-elf/pr13177.s [new file with mode: 0644]