aboutsummaryrefslogtreecommitdiff
path: root/bfd/nlm32-alpha.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-10-16 21:16:07 +1030
committerAlan Modra <amodra@gmail.com>2014-10-16 21:18:16 +1030
commitf1885d1e59a7e6e0627429cd3068740d96f8a184 (patch)
tree903d9dc96d952cd73a24508ca9404dca01c79565 /bfd/nlm32-alpha.c
parentbb99c4726c8926b943e0f525247d2ce0d7ffe6d1 (diff)
downloadgdb-f1885d1e59a7e6e0627429cd3068740d96f8a184.zip
gdb-f1885d1e59a7e6e0627429cd3068740d96f8a184.tar.gz
gdb-f1885d1e59a7e6e0627429cd3068740d96f8a184.tar.bz2
Fix 17492, ld segfault with --oformat=binary
PR 17492 * elf32-arm.c (elf32_arm_add_symbol_hook): Only set has_gnu_symbols on ELF output bfd. * elf32-i386.c (elf_i386_add_symbol_hook): Likewise. * elf32-m68k.c (elf_m68k_add_symbol_hook): Likewise. * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. * elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise. * elfxx-aarch64.c (_bfd_aarch64_elf_add_symbol_hook): Likewise. * elf-s390-common.c (elf_s390_add_symbol_hook): Likewise. Handle STB_GNU_UNIQUE too.
Diffstat (limited to 'bfd/nlm32-alpha.c')
0 files changed, 0 insertions, 0 deletions