This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

dwarflint vs new features


http://roland.fedorapeople.org/tmp/nfs.ko.debug.bz2 has a good sample
object for lots of newly-used and newly-kosher things that dwarflint
doesn't grok.

DW_AT_data_member_location can be class constant or class location.
When it's any DW_FORM_*data*, that means it's a constant, not a location list.

New location ops: DW_OP_stack is new, no operands, must be last in a piece
(i.e. last in expr or followed only by DW_OP_{bit_,}piece);
DW_OP_implicit_value has an "operand" of DW_FORM_block (i.e. variable sized).
You want to treat that block like other constant blocks, i.e. could have
relocs inside it.

There are many other complaints on this file and I haven't investigated
them.  This is from the new GCC code, so actual new errors dwarflint is
correctly diagnosing are entirely possible.

The message "relocation is mismatched" is not very informative and in fact
I don't really know what it means at all.


Thanks,
Roland

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]