diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2017-04-24 20:13:28 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2017-04-26 13:15:17 +0100 |
commit | c46cec3a8cfe02fbe0f6c67ba53abc5369c5c659 (patch) | |
tree | 7a29d53022df072ccc3376f16f57dfcf9be9b9d5 /bfd/ChangeLog | |
parent | bbdd9a6894d7875407da59d490faf5588163d21c (diff) | |
download | gdb-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/ChangeLog | 6 |
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 |