diff options
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2250e22..f3a98ff 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice. + 2009-11-05 Kai Tietz <kai.tietz@onevision.com> * dllwrap.c (is_leading_underscore): New variable. diff --git a/binutils/readelf.c b/binutils/readelf.c index 38a19a7..a566dae 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; |