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]

Re: dwarflint


Jan Kratochvil wrote:
> On Tue, 16 Dec 2008 23:11:08 +0100, Petr Machata wrote:
>> All cases that I've seen so far were suffixes of previous strings.  For  
>> example this is a typical case (in libX11):
>>
>>  [ 14fd]  "/usr/src/debug/libX11-1.1.4/src"
>>  [ 151d]  ".4/src"
>>  [ 1524]  "xbutton"
>>
>> dwarflint claims that 0x151d..0x1523 are unused.  I'm thinking it's the  
>> compiler squeezing the reference to ".4/src" into previous string, and  
>> failing to garbage collect the fragment.
> 
> Guessing it is a result of debugedit during rpmbuild which just overwrites the
> paths with their shorter (relocated) variants because debugedit has no real
> DWARF reader/writer - before you write the new one.

Ha, that would make sense.  All the cases that I've seen were actually
path names, if I recall correctly, so yeah: mystery solved.

PM



Attachment: signature.asc
Description: PGP signature


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