Date: Mon, 7 Sep 1998 16:32:00 -0700 (PDT) From: John Polstra <jdp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/contrib/gcc/config/i386 freebsd.h src/lib/csu/i386-elf Makefile crt1.c src/usr.bin/gprof aout.c elf.c Makefile gprof.1 gprof.c gprof.h src/usr.bin/gprof4 Makefile src/sys/i386/include profile.h Message-ID: <199809072332.QAA06254@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jdp 1998/09/07 16:32:00 PDT
Modified files:
contrib/gcc/config/i386 freebsd.h
lib/csu/i386-elf Makefile crt1.c
usr.bin/gprof Makefile gprof.1 gprof.c gprof.h
usr.bin/gprof4 Makefile
sys/i386/include profile.h
Added files:
usr.bin/gprof aout.c elf.c
Log:
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.
Revision Changes Path
1.19 +7 -4 src/contrib/gcc/config/i386/freebsd.h
1.2 +5 -1 src/lib/csu/i386-elf/Makefile
1.2 +20 -1 src/lib/csu/i386-elf/crt1.c
1.4 +1 -1 src/usr.bin/gprof/Makefile
1.8 +9 -2 src/usr.bin/gprof/gprof.1
1.8 +22 -195 src/usr.bin/gprof/gprof.c
1.7 +6 -10 src/usr.bin/gprof/gprof.h
1.3 +1 -1 src/usr.bin/gprof4/Makefile
1.18 +5 -1 src/sys/i386/include/profile.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809072332.QAA06254>
