From 459e429caba45207cfb44aa9302651fd1627049f Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 22 Aug 1994 15:13:41 +0000 Subject: [PATCH] Remove dead code. gmon stuff is now done better in libc/gmon an . The old version was writing an incomplete header without the profrate field that is necessary to handle the current faster profiling clock. The counters that are where the the profrate should be are usually 0 and gprof converts a profrate of 0 to hz so the old version gave times too large by a factor of profhz/hz = 10.24. --- lib/csu/i386/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/lib/csu/i386/Makefile b/lib/csu/i386/Makefile index 12558ea81c8..ef1befa3527 100644 --- a/lib/csu/i386/Makefile +++ b/lib/csu/i386/Makefile @@ -1,9 +1,9 @@ # from: @(#)Makefile 5.6 (Berkeley) 5/22/91 -# $Id: Makefile,v 1.8 1993/12/24 02:11:37 jkh Exp $ +# $Id: Makefile,v 1.9 1994/03/09 17:12:57 nate Exp $ CFLAGS+= -DLIBC_SCCS -DDYNAMIC OBJS= crt0.o gcrt0.o c++rt0.o -CLEANFILES+= gmon.o moncrt0.o core a.out +CLEANFILES+= a.out all: ${OBJS} @@ -17,19 +17,11 @@ c++rt0.o: c++rt0.c @${LD} -x -r ${.TARGET} @mv a.out ${.TARGET} -moncrt0.o: crt0.c +gcrt0.o: crt0.c ${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET} ${LD} -x -r ${.TARGET} mv a.out ${.TARGET} -gcrt0.o: moncrt0.o gmon.o - ${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o - -gmon.o: gmon.c gmon.h - ${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} - ${LD} -x -r ${.TARGET} - mv a.out ${.TARGET} - install: install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \ ${DESTDIR}/usr/lib