bug-binutils
[Top][All Lists]
Advanced

[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: Wed, 18 Aug 2004 10:31:20 +0100
User-agent: Mozilla Thunderbird 0.7.3 (X11/20040803)

Hi Njuguna,

I observed that when gprof is executed w/ binaries targeted for the
PowerPC (like the 405D in our case), gprof inserts functions in the
histogram and call graph tables that were never executed (i.e. their
addresses were never referenced).

Actually what is probably happening is that gprof is trying to associate an address in the executable with a function name, and it is this association which is going wrong. So for example the reference to Letext is probably actually an address somewhere near the end of the .text section.

This problem may be a result of the debug format that you are using, or it may be a binutils problem. You could try upgrading to the 2.15 binutils release and if that does not work then you could try the current mainline sources in the CVS repository. Failing that if you can create a small, reproducible test case we can try to look into it ourselves.

Cheers
  Nick





reply via email to

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