Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 23:00:29 GMT
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 100811 for review
Message-ID:  <200607062300.k66N0TFU056084@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100811

Change 100811 by bms@bms_montagne on 2006/07/06 22:59:50

	Bring in compile options for mips32.
	Leave -save-temps enabled to allow us to more easily
	catch incorrect assembly inlining.

Affected files ...

.. //depot/projects/mips2/src/sys/conf/kern.mk#3 edit

Differences ...

==== //depot/projects/mips2/src/sys/conf/kern.mk#3 (text+ko) ====

@@ -82,11 +82,13 @@
 .endif
 
 #
-# For PowerPC we tell gcc to use floating point emulation.  This avoids using
-# floating point registers for integer operations which it has a tendency to do.
+# For MIPS we also tell gcc to use floating point emulation.
+# We also force a non-PIC kernel to be built (-mno-abicalls).
 #
 .if ${MACHINE_ARCH} == "mips"
-CFLAGS+=	-msoft-float
+CFLAGS+=	-msoft-float -mno-abicalls -mips32
+# XXX for debugging the build
+CFLAGS+=	-save-temps
 INLINE_LIMIT?=	15000
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607062300.k66N0TFU056084>