dwarflint allow strange combinations of attribute/form in gnu mode

Mark Wielaard mjw at redhat.com
Wed Mar 30 10:53:45 UTC 2011


Hi,

I came across a strange combination of new attribute with old form for
gcc. When gcc isn't using -gstrict-dwarf, it allows attributes from
newer versions, but doesn't use new forms, even if such an attribute
would need that. So this patch allows that (in particular for
DW_AT_ranges for dwarf2), but only in gnu mode. Does this look like a
sane solution?

Thanks,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dwarflint-Allow-DW_AT_ranges-with-const-form-as-gnu-.patch
Type: text/x-patch
Size: 4467 bytes
Desc: not available
Url : https://fedorahosted.org/pipermail/elfutils-devel/attachments/20110330/04389e4d/attachment.bin 


More information about the elfutils-devel mailing list