[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gprof 2.14 glitches w/ powerpc elf binaries

From: Nick Clifton
Subject: Re: gprof 2.14 glitches w/ powerpc elf binaries
Date: Fri, 03 Sep 2004 10:31:54 +0100
User-agent: Mozilla Thunderbird 0.7.3 (X11/20040803)

Hi Nju,

Can you help with this ?  I
am rather swamped with my real job at the moment and about to go off on
holiday, so I do not really have the time to look into it. :-(

How can I help out?

I guess the question is - do you want to debug gprof and find out where these spurious references are coming from. I would suggests starting with the BFD library and in particular the function _bfd_elf_find_nearest_line() in bfd/elf.c. This is probably the function that is deciding that there is a match against the _boot and _boot0 symbols. You need to find out what address it is being given to match when it returns these symbols and then decide whether the address is valid but the symbol is wrong (implies a bug in BFD's nearest_line code) or if the address is wrong (implies a bug in gprof's reading of the profile data).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]