aboutsummaryrefslogtreecommitdiff
path: root/gdb/alphafbsd-tdep.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-01-15 19:42:59 +1030
committerAlan Modra <amodra@gmail.com>2015-01-15 19:58:31 +1030
commit8539e4e89eb4c54bb6668582cd709765a3803588 (patch)
tree72e0a4e1e768ea02f057f60f7be427bbe0984464 /gdb/alphafbsd-tdep.c
parentbafffb51c4da50881dc5d72ec9bf9b78377ac692 (diff)
downloadgdb-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 'gdb/alphafbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions