From: Petr Machata Date: Wed, 8 Apr 2009 12:54:00 +0000 (+0200) Subject: dwarflint: Fix error condition X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b55fe800e2c102605d51cfa9b913481fed817e37;p=thirdparty%2Felfutils.git dwarflint: Fix error condition --- diff --git a/src/dwarflint.c b/src/dwarflint.c index c6e793c45..6b5eee3d3 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -3284,10 +3284,9 @@ read_die_chain (struct read_ctx *ctx, &where, skip_mismatched))) relocate_one (reloc, rel, 8, &value, &where, reloc_target (form, it), NULL); - else if (type_is_rel - && (check_locptr || check_rangeptr)) + else if (type_is_rel && check_ptr != check_nothing) wr_message (mc_impact_2 | mc_die_other | mc_reloc - | (check_rangeptr ? mc_ranges : mc_loc), + | mc_check[check_ptr], &where, PRI_LACK_RELOCATION, dwarf_form_string (form)); }