From: Petr Machata Date: Tue, 7 Apr 2009 15:56:55 +0000 (+0200) Subject: dwarflint: Tolerate DW_AT_const_value with address form. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58b8fd08f2d951659c3da493a22ae93b1399c9e9;p=thirdparty%2Felfutils.git dwarflint: Tolerate DW_AT_const_value with address form. --- diff --git a/src/dwarflint.c b/src/dwarflint.c index fb5e92fb3..a751eb0a7 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -2746,6 +2746,11 @@ reloc_target (uint8_t form, struct abbrev_attrib *at) case DW_AT_high_pc: case DW_AT_entry_pc: return sec_text; + + case DW_AT_const_value: + /* Appears in some kernel modules. It's not allowed by the + standard, but leave that for high-level checks. */ + return rel_address; }; break;