diff options
author | Alan Modra <amodra@gmail.com> | 2012-12-18 13:25:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-12-18 13:25:46 +0000 |
commit | 15bc576af199430c68593286e2e58e43451b8c30 (patch) | |
tree | 1f00a4bbd44bf8e06dde83c9bf557516badd19b5 | |
parent | 02d403bfbaaeec0cc9afb986900f9303bcc7e087 (diff) | |
download | gdb-15bc576af199430c68593286e2e58e43451b8c30.zip gdb-15bc576af199430c68593286e2e58e43451b8c30.tar.gz gdb-15bc576af199430c68593286e2e58e43451b8c30.tar.bz2 |
* elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of
the special MAP_* values.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 098001e..a256f72 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-12-18 Alan Modra <amodra@gmail.com> + + * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of + the special MAP_* values. + 2012-12-17 Roland McGrath <mcgrathr@google.com> Alan Modra <amodra@gmail.com> @@ -6791,6 +6791,7 @@ swap_out_syms (bfd *abfd, shndx = elf_tdata (abfd)->symtab_shndx_section; break; default: + shndx = SHN_ABS; break; } } |