2010-06-10 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 10 Jun 2010 11:50:38 +0000 (11:50 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 10 Jun 2010 11:50:38 +0000 (11:50 +0000)
* readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
not inplace.

binutils/ChangeLog
binutils/readelf.c

index 8cfe737a8b8ab0a26e6ec8ee34329f8680c877db..4c59e33148f7e5b40f95014bf715a8fdf6e54b36 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-10  Tristan Gingold  <gingold@adacore.com>
+
+       * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
+       not inplace.
+
 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Andrew Stubbs  <ams@codesourcery.com>
index f64dcb904fd79854b138aed777971089c292de21..2ea1bf7a70fefbb738fa466d0b0bee7384c2904b 100644 (file)
@@ -5435,15 +5435,15 @@ slurp_ia64_unwind_table (FILE * file,
            {
            case 0:
              aux->table[i].start.section = sym->st_shndx;
-             aux->table[i].start.offset += rp->r_addend + sym->st_value;
+             aux->table[i].start.offset  = rp->r_addend + sym->st_value;
              break;
            case 1:
              aux->table[i].end.section   = sym->st_shndx;
-             aux->table[i].end.offset   += rp->r_addend + sym->st_value;
+             aux->table[i].end.offset    = rp->r_addend + sym->st_value;
              break;
            case 2:
              aux->table[i].info.section  = sym->st_shndx;
-             aux->table[i].info.offset  += rp->r_addend + sym->st_value;
+             aux->table[i].info.offset   = rp->r_addend + sym->st_value;
              break;
            default:
              break;