From: Dave Anglin Date: Sun, 8 Nov 2009 21:36:46 +0000 (+0000) Subject: * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e456d542e803426bea7438151be03dc0c7ed0dc;p=binutils-gdb.git * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2250e22abd0..f3a98ff4ae5 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2009-11-08 John David Anglin + + * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice. + 2009-11-05 Kai Tietz * dllwrap.c (is_leading_underscore): New variable. diff --git a/binutils/readelf.c b/binutils/readelf.c index 38a19a7adfc..a566daeb712 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -5589,11 +5589,11 @@ slurp_hppa_unwind_table (FILE * file, { case 0: aux->table[i].start.section = sym->st_shndx; - aux->table[i].start.offset += sym->st_value + rp->r_addend; + aux->table[i].start.offset = sym->st_value + rp->r_addend; break; case 1: aux->table[i].end.section = sym->st_shndx; - aux->table[i].end.offset += sym->st_value + rp->r_addend; + aux->table[i].end.offset = sym->st_value + rp->r_addend; break; default: break;