diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2009-11-08 21:36:46 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2009-11-08 21:36:46 +0000 |
commit | 1e456d542e803426bea7438151be03dc0c7ed0dc (patch) | |
tree | 69a4c82c2bba882f2ef98cd779f193ba39279fae /binutils/readelf.c | |
parent | d9f4081713832e26cd511d73703b9723ad107f51 (diff) | |
download | gdb-1e456d542e803426bea7438151be03dc0c7ed0dc.zip gdb-1e456d542e803426bea7438151be03dc0c7ed0dc.tar.gz gdb-1e456d542e803426bea7438151be03dc0c7ed0dc.tar.bz2 |
* readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |