aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2017-04-24 20:13:28 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2017-04-26 13:15:17 +0100
commitc46cec3a8cfe02fbe0f6c67ba53abc5369c5c659 (patch)
tree7a29d53022df072ccc3376f16f57dfcf9be9b9d5 /bfd/ChangeLog
parentbbdd9a6894d7875407da59d490faf5588163d21c (diff)
downloadgdb-c46cec3a8cfe02fbe0f6c67ba53abc5369c5c659.zip
gdb-c46cec3a8cfe02fbe0f6c67ba53abc5369c5c659.tar.gz
gdb-c46cec3a8cfe02fbe0f6c67ba53abc5369c5c659.tar.bz2
ELF/BFD: Limit `_bfd_elf_link_renumber_dynsyms' call in section GC
Consistently call `_bfd_elf_link_renumber_dynsyms' only if linking a dynamic binary, complementing code in `bfd_elf_size_dynsym_hash_dynstr' and commit ccabcbe51e85 ("New attempt at fixing MIPS --gc-sections et al."), <https://sourceware.org/ml/binutils/2005-08/msg00258.html>. bfd/ * elflink.c (bfd_elf_size_dynamic_sections): Only call `_bfd_elf_link_renumber_dynsyms' after section GC if dynamic sections have been created.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7fb1baf..0e6ac1b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
+
+ * elflink.c (bfd_elf_size_dynamic_sections): Only call
+ `_bfd_elf_link_renumber_dynsyms' after section GC if dynamic
+ sections have been created.
+
2017-04-26 Nick Clifton <nickc@redhat.com>
PR binutils/21431