OSDN Git Service

* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL
authoramodra <amodra>
Sat, 17 May 2003 06:16:02 +0000 (06:16 +0000)
committeramodra <amodra>
Sat, 17 May 2003 06:16:02 +0000 (06:16 +0000)
commitf3fc70ce64b7a1eb9b8d2ebcfa5f58cc42cbc8ba
tree63fc9e23d8d9defa97c18e597be02b977600ec01
parenteda1f2b926af531c4e72d1688bb0602e52bd65b7
* 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