* readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
authorDave Anglin <dave.anglin@nrc.ca>
Sun, 8 Nov 2009 21:36:46 +0000 (21:36 +0000)
committerDave Anglin <dave.anglin@nrc.ca>
Sun, 8 Nov 2009 21:36:46 +0000 (21:36 +0000)
binutils/ChangeLog
binutils/readelf.c

index 2250e22..f3a98ff 100644 (file)
@@ -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.
index 38a19a7..a566dae 100644 (file)
@@ -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;