This is a slight tweak to gprof to allow it to understand linux's libc weak symbols. Dean --- binutils-2.8.1/gprof/core.c.dist Mon May 26 10:35:33 1997 +++ binutils-2.8.1/gprof/core.c Tue Dec 23 02:28:37 1997 @@ -231,6 +231,11 @@ return i; /* it's a global symbol */ } + if (i == 'W') + { + return 'T'; + } + if (i != 't') { /* not a static text symbol */