From 5b11e2a2f4237604a3b79eae0bd8f58cd296fca5 Mon Sep 17 00:00:00 2001 From: jdp Date: Mon, 7 Sep 1998 23:32:00 +0000 Subject: 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. --- usr.bin/gprof/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/gprof/Makefile') diff --git a/usr.bin/gprof/Makefile b/usr.bin/gprof/Makefile index 9aba213..29291cc 100644 --- a/usr.bin/gprof/Makefile +++ b/usr.bin/gprof/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/29/93 PROG= gprof -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 beforeinstall: -- cgit v1.1