PERFORCE change 101550 for review

Bruce M Simpson bms at FreeBSD.org
Fri Jul 14 14:00:46 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=101550

Change 101550 by bms at bms_montagne on 2006/07/14 14:00:13

	Put -mno-abicalls in the right place and use it consistently.

Affected files ...

.. //depot/projects/mips2/src/sys/conf/Makefile.mips#8 edit

Differences ...

==== //depot/projects/mips2/src/sys/conf/Makefile.mips#8 (text+ko) ====

@@ -45,9 +45,9 @@
 .endif
 
 # We add the -fno-pic flag to kernels because otherwise performance
-# is extremely poor. (XXX: Can replace with -mno-abicalls).
-CFLAGS+=-fno-pic $(ARCH_FLAGS)
-HACK_EXTRA_FLAGS+=-fno-pic $(ARCH_FLAGS)
+# is extremely poor, as well as -mno-abicalls to force no ABI usage.
+CFLAGS+=-fno-pic -mno-abicalls $(ARCH_FLAGS)
+HACK_EXTRA_FLAGS+=-fno-pic -mno-abicalls $(ARCH_FLAGS)
 
 # XXX hardcoded kernel entry point
 SYSTEM_LD+= -Ttext 0x80100000


More information about the p4-projects mailing list