PERFORCE change 124909 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Wed Aug 8 10:25:27 PDT 2007


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

Change 124909 by gonzo at gonzo_wooster on 2007/08/08 17:25:00

	o Default gcc/mips arch to mips32. Default ABI is already set to 32
	    but default CPU type for this ABI is mips1. It causes some
	    inconveniences so far:
		- ll/sc (used for atomic ops) are unsupport by mips1.
		- TARGET_CPU_TYPE should be set explicitly for our primary
		    target platform - mips32.
	Approved by:	cognet, imp

Affected files ...

.. //depot/projects/mips2/src/contrib/gcc/config/mips/freebsd.h#7 edit

Differences ...

==== //depot/projects/mips2/src/contrib/gcc/config/mips/freebsd.h#7 (text+ko) ====

@@ -19,6 +19,10 @@
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+/* Default to the mips32 ISA */
+#undef DRIVER_SELF_SPECS
+#define DRIVER_SELF_SPECS \
+  "%{!march=*: -march=mips32}"
 
 /* Define default target values.  */
 


More information about the p4-projects mailing list