From: Petr Machata Date: Wed, 18 Feb 2009 16:23:50 +0000 (+0100) Subject: Report relocation offset as soon as we know it X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ffef3152acca412dd2d72fa474ea5d21326140a;p=thirdparty%2Felfutils.git Report relocation offset as soon as we know it --- diff --git a/src/dwarflint.c b/src/dwarflint.c index 5586156f3..4031e91b3 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -4267,6 +4267,7 @@ check_relocation_section_structural (Dwarf *dwarf, wr_error (&where, ": couldn't read relocation.\n"); return false; } + where_reset_2 (&where, rela->r_offset); int rtype = GELF_R_TYPE (rela->r_info); Elf_Type type = ebl_reloc_simple_type (ebl, rtype);