diff options
author | Alan Modra <amodra@gmail.com> | 2015-01-15 19:42:59 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-01-15 19:58:31 +1030 |
commit | 8539e4e89eb4c54bb6668582cd709765a3803588 (patch) | |
tree | 72e0a4e1e768ea02f057f60f7be427bbe0984464 /bfd/ChangeLog | |
parent | bafffb51c4da50881dc5d72ec9bf9b78377ac692 (diff) | |
download | gdb-8539e4e89eb4c54bb6668582cd709765a3803588.zip gdb-8539e4e89eb4c54bb6668582cd709765a3803588.tar.gz gdb-8539e4e89eb4c54bb6668582cd709765a3803588.tar.bz2 |
Fix ARM fail of gap test
ld-elf/gap test was failing due to the ARM backend attempting to output
arch symbols when ld -s (strip all symbols) is in force. This patch
stops that happening and tidies the code a little.
PR 17842
* elflink.c (elf_link_output_sym): Assert elf_onesymtab set.
(bfd_elf_final_link): Always create a symbol table when emit_relocs.
Don't assign symtab file position unless symbols will be output.
Merge blocks with condition in common. Don't call
elf_backend_output_arch_local_syms or elf_backend_output_arch_syms
unless other symbols are output. Move assignment of symtab_shndx
file position. Localize variable.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0e83f2e..7dbb299 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,14 @@ +2015-01-15 Alan Modra <amodra@gmail.com> + + PR 17842 + * elflink.c (elf_link_output_sym): Assert elf_onesymtab set. + (bfd_elf_final_link): Always create a symbol table when emit_relocs. + Don't assign symtab file position unless symbols will be output. + Merge blocks with condition in common. Don't call + elf_backend_output_arch_local_syms or elf_backend_output_arch_syms + unless other symbols are output. Move assignment of symtab_shndx + file position. Localize variable. + 2015-01-14 Jiong Wang <jiong.wang@arm.com> * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when |