summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/elf.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't ignore weak symbols.dt1999-07-031-1/+0
| | | | | | | | | | EGCS assign weak symbols to inline functions it couldn't inline (e.g. virtual inline functions), template functions, etc. Omitting them result in quite bogus profile. Weak symbols created by __weak_reference are not really problem. Caught by: Ilya Segalovich <iseg@comptek.ru>
* Make profiling work for ELF. gprof now autodetects the format ofjdp1998-09-071-0/+106
the executable file, so it will work for both a.out and ELF format files. I have split the object format specific code into separate source files. It's cleaner than it was before, but it's still pretty crufty. Don't cheat on your make world for this update. A lot of things have to be rebuilt for it to work, including the compiler and all of the profiled libraries.
OpenPOWER on IntegriCloud