From: Petr Machata Date: Wed, 18 Feb 2009 16:23:39 +0000 (+0100) Subject: Differentiate between completely invalid and 8/16-bit relocation types X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=026ca5448a89086208ff2110deae67477948c9c2;p=thirdparty%2Felfutils.git Differentiate between completely invalid and 8/16-bit relocation types --- diff --git a/src/dwarflint.c b/src/dwarflint.c index 700e19d45..5586156f3 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -4284,6 +4284,9 @@ check_relocation_section_structural (Dwarf *dwarf, /* Technically legal, but never used. Better have dwarflint flag them as erroneous, because it's more likely these are a result of a bug than actually being used. */ + wr_error (&where, ": 8 or 16-bit relocation type %d.\n", type); + break; + default: wr_error (&where, ": invalid relocation type %d.\n", type); retval = false;