PERFORCE change 100811 for review
    Bruce M Simpson 
    bms at FreeBSD.org
       
    Thu Jul  6 23:00:31 UTC 2006
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=100811
Change 100811 by bms at 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
 
    
    
More information about the p4-projects
mailing list