2000-04-27 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 30 Apr 2001 16:13:26 +0000 (16:13 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 30 Apr 2001 16:13:26 +0000 (16:13 +0000)
commit5fba655aed6c897750c2a9c88467b1691b8ec481
tree5f3ea805408b8b31de47495c6407a9483ad9defb
parentdb20fd76547e0c6e7f73969bbeec15e3d83a182e
2000-04-27  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1
only for ELF_LINK_FORCED_LOCAL.
* elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.

* elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL
if the symbol has hidden or internal visibility.
bfd/ChangeLog
bfd/elf.c
bfd/elf32-hppa.c
bfd/elf32-mips.c
bfd/elflink.h
bfd/elfxx-ia64.c