diff options
author | Alan Modra <amodra@gmail.com> | 2017-12-01 07:53:16 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-12-01 09:06:30 +1030 |
commit | 4a7e52349807017f9bc09ea25f07924f2ec971b3 (patch) | |
tree | 8af3ae5d5d1b97d6b83258f22095afec0500d46d /bfd/ChangeLog | |
parent | 6f14765f9f448bbe03750634eb42c4a9db6521b8 (diff) | |
download | gdb-4a7e52349807017f9bc09ea25f07924f2ec971b3.zip gdb-4a7e52349807017f9bc09ea25f07924f2ec971b3.tar.gz gdb-4a7e52349807017f9bc09ea25f07924f2ec971b3.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c23ac59..1b2db46 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,24 @@ +2017-12-01 Alan Modra <amodra@gmail.com> + + 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. + 2017-11-29 Nick Clifton <nickc@redhat.com> PR 22509 |