summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/elf.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove done() which was just exit() so use of warn()/err() can be made. Abortcharnier2002-10-161-3/+3
| | | | | | | on allocation failure instead of displaying a warning and deferencing NULL pointer after. Spelling. Add prototypes. Add list of option in synopsis section of man page, -d is not referenced because available as a compile option. It should be made a runtime option btw.
* Added missing copyright. Obtain one and a vendor id from gprof.c. aout.cbde2002-02-211-2/+40
| | | | | | | was split off from gprof.c in rev.1.7 of the latter. elf.c is mostly new, but the old copyright sort of applies to it and is better than none. Use __FBSDID() for the FreeBSD id.
* * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-05-021-1/+6
| | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
* 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