2010-06-10 Tristan Gingold <gingold@adacore.com>

* readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
	not inplace.
This commit is contained in:
Tristan Gingold 2010-06-10 11:50:38 +00:00
parent cb3aabc79c
commit e466bc6e48
2 changed files with 8 additions and 3 deletions

View 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>

View 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;