summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof4
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-09-07 23:32:00 +0000
committerjdp <jdp@FreeBSD.org>1998-09-07 23:32:00 +0000
commit5b11e2a2f4237604a3b79eae0bd8f58cd296fca5 (patch)
tree3406d2b2dff7ee0b157826eb5429d6e93491b1a8 /usr.bin/gprof4
parent06aec80098f1b2500b86064347079545f0d01eaf (diff)
downloadFreeBSD-src-5b11e2a2f4237604a3b79eae0bd8f58cd296fca5.zip
FreeBSD-src-5b11e2a2f4237604a3b79eae0bd8f58cd296fca5.tar.gz
Make profiling work for ELF. gprof now autodetects the format of
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.
Diffstat (limited to 'usr.bin/gprof4')
-rw-r--r--usr.bin/gprof4/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/gprof4/Makefile b/usr.bin/gprof4/Makefile
index 5764656..aafabda 100644
--- a/usr.bin/gprof4/Makefile
+++ b/usr.bin/gprof4/Makefile
@@ -6,7 +6,7 @@
PROG= gprof4
NOMAN= noman
-SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
+SRCS= gprof.c aout.c arcs.c dfn.c elf.c lookup.c ${MACHINE_ARCH}.c hertz.c \
printgprof.c printlist.c
CFLAGS+=-DGPROF4
.PATH: ${.CURDIR}/../../usr.bin/gprof
OpenPOWER on IntegriCloud