* 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 2250e22abd06f793906321942b96595ae7cef6bd..f3a98ff4ae547c4e4b4728f4814558c257c492d1 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 38a19a7adfcbf9a233b85f91244c212cc8e60355..a566daeb712dc4bcffb19a065f3398b5e42a75ec 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;