On ARM, binutils are adding '$a' symbols in the symbol table for every function (in addition to normal symbol). When gprof(1) looks up symbol name, it often reads '$a' instead of proper function name, because it find it first. With this fix, when read symbol name begins with '$' and previous symbol has the same address, it will use previous symbol name (which is proper function name). Obtained from: Semihalf |
||
---|---|---|
.. | ||
amd64.h | ||
aout.c | ||
arcs.c | ||
arm.h | ||
dfn.c | ||
elf.c | ||
gprof.1 | ||
gprof.c | ||
gprof.callg | ||
gprof.flat | ||
gprof.h | ||
hertz.c | ||
i386.h | ||
ia64.h | ||
kernel.c | ||
lookup.c | ||
Makefile | ||
mips.h | ||
pathnames.h | ||
powerpc.h | ||
printgprof.c | ||
printlist.c | ||
sparc64.h |