aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-12-18 13:25:46 +0000
committerAlan Modra <amodra@gmail.com>2012-12-18 13:25:46 +0000
commit15bc576af199430c68593286e2e58e43451b8c30 (patch)
tree1f00a4bbd44bf8e06dde83c9bf557516badd19b5 /bfd/elf.c
parent02d403bfbaaeec0cc9afb986900f9303bcc7e087 (diff)
downloadfsf-binutils-gdb-15bc576af199430c68593286e2e58e43451b8c30.zip
fsf-binutils-gdb-15bc576af199430c68593286e2e58e43451b8c30.tar.gz
fsf-binutils-gdb-15bc576af199430c68593286e2e58e43451b8c30.tar.bz2
* elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of
the special MAP_* values.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index a92dd5d..17e9ad4 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;
}
}