aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-06-10 11:50:38 +0000
committerTristan Gingold <gingold@adacore.com>2010-06-10 11:50:38 +0000
commite466bc6e485561699f25fc02085b1b128bb95dfb (patch)
treea5dc03537755b2568e5dec3e247813c504e9703d /binutils
parentcb3aabc79c27bbb7942b28f5e5723aba4a55d932 (diff)
downloadgdb-e466bc6e485561699f25fc02085b1b128bb95dfb.zip
gdb-e466bc6e485561699f25fc02085b1b128bb95dfb.tar.gz
gdb-e466bc6e485561699f25fc02085b1b128bb95dfb.tar.bz2
2010-06-10 Tristan Gingold <gingold@adacore.com>
* readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are not inplace.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 8cfe737..4c59e33 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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>
diff --git a/binutils/readelf.c b/binutils/readelf.c
index f64dcb9..2ea1bf7 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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;