PR22533, dynamic relocs generated for weak aliases
authorAlan Modra <amodra@gmail.com>
Thu, 30 Nov 2017 21:23:16 +0000 (07:53 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 30 Nov 2017 22:36:30 +0000 (09:06 +1030)
commit4a7e52349807017f9bc09ea25f07924f2ec971b3
tree8af3ae5d5d1b97d6b83258f22095afec0500d46d
parent6f14765f9f448bbe03750634eb42c4a9db6521b8
PR22533, dynamic relocs generated for weak aliases

This cleans up yet more craziness with non_got_ref.

PR 22533
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Don't do anything
special with non_got_ref for weak aliases.
(elf32_hppa_check_relocs): Tweak setting of non_got_ref.
(elf32_hppa_adjust_dynamic_symbol): When initialising weak aliases,
don't uselessly copy non_got_ref.  Clear dyn_relocs instead if
strong symbol is allocated in dynbss.  Tidy comments.
(elf32_hppa_relocate_section): Comment fix.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Don't do anything
special with non_got_ref for weak aliases.
(ppc_elf_adjust_dynamic_symbol): When initialising weak aliases,
don't uselessly copy non_got_ref.  Clear dyn_relocs instead if
strong symbol is allocated in dynbss.  Tidy comments.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't do anything
special with non_got_ref for weak aliases.
(ppc64_elf_adjust_dynamic_symbol): When initialising weak aliases,
don't uselessly copy non_got_ref.  Clear dyn_relocs instead if
strong symbol is allocated in dynbss.  Tidy comments.
bfd/ChangeLog
bfd/elf32-hppa.c
bfd/elf32-ppc.c
bfd/elf64-ppc.c
This page took 0.038647 seconds and 4 git commands to generate.