From: Petr Machata Date: Wed, 8 Apr 2009 12:55:19 +0000 (+0200) Subject: dwarflint: relocation of DW_LNE_set_address doesn't have to be against executable X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2863195e7f244f95ce861293dc3ffa0d4948fd9;p=thirdparty%2Felfutils.git dwarflint: relocation of DW_LNE_set_address doesn't have to be against executable --- diff --git a/src/dwarflint.c b/src/dwarflint.c index 6b5eee3d3..20189b0f8 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -5040,7 +5040,7 @@ check_line_structural (struct section_data *data, if ((rel = relocation_next (&data->rel, ctx_offset, &where, skip_mismatched))) relocate_one (&data->rel, rel, data->file->addr_64 ? 8 : 4, - &addr, &where, sec_text, NULL); + &addr, &where, rel_address, NULL); else if (data->file->ehdr.e_type == ET_REL) wr_message (mc_impact_2 | mc_line | mc_reloc, &where, PRI_LACK_RELOCATION, "DW_LNE_set_address");