From: Petr Machata Date: Thu, 23 Jul 2009 15:25:53 +0000 (+0200) Subject: dwarflint: don't warn on absence of debunginfo sections in tolerant mode X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0b74a546c90cac9a19b7be10021ea487d411bbd;p=thirdparty%2Felfutils.git dwarflint: don't warn on absence of debunginfo sections in tolerant mode --- diff --git a/src/dwarflint.c b/src/dwarflint.c index bab48a6fa..debd7e9f0 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -1292,19 +1292,19 @@ process_file (Elf *elf, const char *fname, bool only_one) if (SEC(pubnames) != NULL) check_pub_structural (&file, SEC(pubnames), cu_chain); - else + else if (!tolerate_nodebug) wr_message (mc_impact_4 | mc_acc_suboptimal | mc_elf, &WHERE (sec_pubnames, NULL), ": data not found.\n"); if (SEC(pubtypes) != NULL) check_pub_structural (&file, SEC(pubtypes), cu_chain); - else + else if (!tolerate_nodebug) wr_message (mc_impact_4 | mc_acc_suboptimal | mc_elf | mc_pubtypes, &WHERE (sec_pubtypes, NULL), ": data not found.\n"); if (SEC(line) != NULL) check_line_structural (&file, SEC(line), cu_chain); - else + else if (!tolerate_nodebug) wr_message (mc_impact_4 | mc_acc_suboptimal | mc_elf | mc_loc, &WHERE (sec_line, NULL), ": data not found.\n");