aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-11-06 10:20:52 +1030
committerAlan Modra <amodra@gmail.com>2013-11-11 14:31:58 +1030
commitafe397ea85a3d09d936c93328a1f6bf640577cf3 (patch)
tree6d606d47fa3bb6fccaf79d6bb082e45ccd602d13 /bfd/ChangeLog
parent32798b4b81ae308b1a2df5d439a1e87c4e23d578 (diff)
downloadgdb-afe397ea85a3d09d936c93328a1f6bf640577cf3.zip
gdb-afe397ea85a3d09d936c93328a1f6bf640577cf3.tar.gz
gdb-afe397ea85a3d09d936c93328a1f6bf640577cf3.tar.bz2
Correct elf64-ppc.c handling of protected symbols
Some places in elf64-ppc.c carelessly used SYMBOL_CALLS_LOCAL when the proper test is SYMBOL_REFERENCES_LOCAL for cases where we take the address of a protected symbol. This works OK for function descriptors but not for ELFv2. Setting symbols to their global entry stub a little earlier is to ensure _bfd_elf_hash_symbol allows such symbols in .gnu.hash. * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_REFERENCES_LOCAL here, not SYMBOL_CALLS_LOCAL. (ppc64_elf_relocate_section): Likewise. (size_global_entry_stubs): Set undefined symbols on their global entry stubs here.. (build_global_entry_stubs): ..rather than here. (ppc64_elf_build_stubs): Don't reset glink->size before calling build_global_entry_stubs.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ccd7e7a..5c7c7aa 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,14 @@
+2013-11-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_REFERENCES_LOCAL
+ here, not SYMBOL_CALLS_LOCAL.
+ (ppc64_elf_relocate_section): Likewise.
+ (size_global_entry_stubs): Set undefined symbols on their global
+ entry stubs here..
+ (build_global_entry_stubs): ..rather than here.
+ (ppc64_elf_build_stubs): Don't reset glink->size before calling
+ build_global_entry_stubs.
+
2013-11-07 Roland McGrath <mcgrathr@google.com>
* archures.c (bfd_mach_i386_nacl): Fix definition so it doesn't