Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 14:00:45 GMT
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 101550 for review
Message-ID:  <200607141400.k6EE0jHv091458@repoman.freebsd.org>

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

Change 101550 by bms@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



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