From: Tristan Gingold Date: Thu, 10 Jun 2010 11:50:38 +0000 (+0000) Subject: 2010-06-10 Tristan Gingold X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e466bc6e485561699f25fc02085b1b128bb95dfb;p=binutils-gdb.git 2010-06-10 Tristan Gingold * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are not inplace. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8cfe737a8b8..4c59e33148f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2010-06-10 Tristan Gingold + + * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are + not inplace. + 2010-05-25 Daniel Jacobowitz Joseph Myers Andrew Stubbs diff --git a/binutils/readelf.c b/binutils/readelf.c index f64dcb904fd..2ea1bf7a70f 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;