aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2009-11-08 21:36:46 +0000
committerDave Anglin <dave.anglin@nrc.ca>2009-11-08 21:36:46 +0000
commit1e456d542e803426bea7438151be03dc0c7ed0dc (patch)
tree69a4c82c2bba882f2ef98cd779f193ba39279fae /binutils
parentd9f4081713832e26cd511d73703b9723ad107f51 (diff)
downloadgdb-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')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c4
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;