* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL
authorAlan Modra <amodra@gmail.com>
Sat, 17 May 2003 06:16:03 +0000 (06:16 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 17 May 2003 06:16:03 +0000 (06:16 +0000)
commit9c7a29a32e738b51793f7f2bcaa4b403373b478c
treea925e4ef543194e6e886f4cb4ba54819d59cb067
parentb8b527c5a96aec839f5c8122ffd08556f7fe0d9f
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL
to trim plt entries.  Move undefweak non-default visibility test..
(allocate_dynrelocs): ..from here.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't test
dynamic_sections_created here.  Update comment.  Move undefweak
non-default visibility test..
(allocate_dynrelocs): ..from here.  Fix comment.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL
to trim plt entries.  Move undefweak non-default visibility test..
(allocate_dynrelocs): ..from here.  Fix comment.
* elflink.h (elf_link_output_extsym): Compare ELF_ST_VISIBILITY with
STV_DEFAULT rather than comparing with zero.
* elflink.c (_bfd_elf_merge_symbol): Likewise.
(_bfd_elf_fix_symbol_flags): Likewise.  Format comment.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf32-ppc.c
bfd/elf64-ppc.c
bfd/elflink.c
bfd/elflink.h