From 15bc576af199430c68593286e2e58e43451b8c30 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 18 Dec 2012 13:25:46 +0000 Subject: [PATCH] * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of the special MAP_* values. --- bfd/ChangeLog | 5 +++++ bfd/elf.c | 1 + 2 files changed, 6 insertions(+) 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; } } -- 2.30.2