summaryrefslogtreecommitdiff
path: root/usr.bin/gprof/elf.c
AgeCommit message (Collapse)Author
2007-01-09Ignore "mapping symbols" like $a and $t. They seem to be an ARM-onlyChris Kuethe
feature, used to indicate whether code is ARM or Thumb. Unfortunately they confuse gprof, which outputs call graphs where every other function is named "$a"... not very useful. Rather than enumerating the different symbols, binutils ignores anything beginning with '$', and that is what we will do here. Thanks to Dale Rahn for useful tips along the way. ok miod
2004-07-20Add ELFDEBUG to mirror the a.out debug that already exists.Marco S Hyman
OK art@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-05-08Split out symbol handling into a separate file.Artur Grabowski
Implement symbol handling for ELF (based on FreeBSD). Implement dummy support for alpha, hppa, powerpc and sparc64. Tested during the last 2 months on various archs (never comitted because other stuff got in the way). Some fixups to i386 support from mickey@ This lets us switch all elf archs to this gprof.