From: Petr Machata Date: Wed, 19 Aug 2009 11:36:50 +0000 (+0200) Subject: dwarflint: Allow DW_FORM_sec_offset as a form in rangeptr and lineptr X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ccebf26be22146f347e076429b6f586cbaa908d1;p=thirdparty%2Felfutils.git dwarflint: Allow DW_FORM_sec_offset as a form in rangeptr and lineptr --- diff --git a/src/dwarflint.c b/src/dwarflint.c index a95b481fb..90a009672 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -1725,6 +1725,7 @@ abbrev_table_load (struct read_ctx *ctx) { if (attrib_form != DW_FORM_data4 && attrib_form != DW_FORM_data8 + && attrib_form != DW_FORM_sec_offset && attrib_form != DW_FORM_indirect) wr_error (&where, ": %s with invalid form \"%s\".\n", @@ -3029,7 +3030,8 @@ read_die_chain (struct elf_file *file, if (!read_ctx_read_offset (ctx, dwarf_64, &value)) { cant_read: - wr_error (&where, ": can't read attribute value.\n"); + wr_error (&where, ": can't read value of attribute %s.\n", + dwarf_attr_string (it->name)); return -1; }