From: Alan Modra Date: Tue, 18 Dec 2012 13:25:46 +0000 (+0000) Subject: * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15bc576af199430c68593286e2e58e43451b8c30;p=binutils-gdb.git * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of the special MAP_* values. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 098001e1a80..a256f725dc0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-12-18 Alan Modra + + * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of + the special MAP_* values. + 2012-12-17 Roland McGrath Alan Modra diff --git a/bfd/elf.c b/bfd/elf.c index a92dd5db5de..17e9ad47dd0 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -6791,6 +6791,7 @@ swap_out_syms (bfd *abfd, shndx = elf_tdata (abfd)->symtab_shndx_section; break; default: + shndx = SHN_ABS; break; } }