From 81f2acfc061d8df76fc320f56b78b67709f9ebe2 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 28 Oct 2006 13:34:35 +0000 Subject: [PATCH] Backed out rev.1.10 (a special case for amd64). The amd64 mcount code never needed any frame pointers for itself. --- lib/libc/gmon/Makefile.inc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc index 2b353d8be7e..98c73953319 100644 --- a/lib/libc/gmon/Makefile.inc +++ b/lib/libc/gmon/Makefile.inc @@ -12,12 +12,6 @@ MAN+= moncontrol.3 MLINKS+=moncontrol.3 monstartup.3 -.if ${MACHINE_ARCH} == amd64 -# mcount needs to be compiled with frame pointers and without profiling -mcount.po: mcount.c - ${CC} ${CFLAGS} -fno-omit-frame-pointer -c ${.IMPSRC} -o ${.TARGET} -.else # mcount cannot be compiled with profiling mcount.po: mcount.o cp mcount.o mcount.po -.endif