OSDN Git Service

* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL
authorAlan Modra <amodra@bigpond.net.au>
Sat, 17 May 2003 06:16:03 +0000 (06:16 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Sat, 17 May 2003 06:16:03 +0000 (06:16 +0000)
commit72f1de09272c8c4635ab83d355c588519a710a24
tree4874276d9f096352a8107010e21a084267040d6e
parent71ae46c1328776a1d529f899ccc56fcf966743e8
* 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