summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-31 09:19:19 +0000
committerpeter <peter@FreeBSD.org>1997-05-31 09:19:19 +0000
commit09b39a066050ec0e76528383c82a1fad71c28f77 (patch)
treebec2ca18543feb7e494f49555f79e554c44ba1be /sys/conf
parent3bcc8c4b883fad08b0602c9ffa7bc5bfeef1d717 (diff)
downloadFreeBSD-src-09b39a066050ec0e76528383c82a1fad71c28f77.zip
FreeBSD-src-09b39a066050ec0e76528383c82a1fad71c28f77.tar.gz
compile ipl_funcs.c with -fomit-frame-pointer, as suggested by Bruce. This
cuts the cost of a function call instead of an inline.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.i3866
-rw-r--r--sys/conf/Makefile.powerpc6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index b6c1e01..eaf07cb 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -1,7 +1,7 @@
# Makefile.i386 -- with config changes.
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.96 1997/05/07 16:05:23 dfr Exp $
+# $Id: Makefile.i386,v 1.97 1997/05/21 23:21:15 jdp Exp $
#
# Makefile for FreeBSD
#
@@ -151,6 +151,10 @@ locore.o: Makefile
# depends on KDB (cons.o also depends on GENERIC)
trap.o cons.o: Makefile
+# compiled with special flags
+ipl_funcs.o: ${I386}/isa/ipl_funcs.c
+ ${CC} -c ${CFLAGS} ${PROF} -fomit-frame-pointer $<
+
# this rule stops ./assym.s in .depend from causing problems
./assym.s: assym.s
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index b6c1e01..eaf07cb 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -1,7 +1,7 @@
# Makefile.i386 -- with config changes.
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.96 1997/05/07 16:05:23 dfr Exp $
+# $Id: Makefile.i386,v 1.97 1997/05/21 23:21:15 jdp Exp $
#
# Makefile for FreeBSD
#
@@ -151,6 +151,10 @@ locore.o: Makefile
# depends on KDB (cons.o also depends on GENERIC)
trap.o cons.o: Makefile
+# compiled with special flags
+ipl_funcs.o: ${I386}/isa/ipl_funcs.c
+ ${CC} -c ${CFLAGS} ${PROF} -fomit-frame-pointer $<
+
# this rule stops ./assym.s in .depend from causing problems
./assym.s: assym.s
OpenPOWER on IntegriCloud