This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] configure mips*-linux and soft-float...


OK to install?

David Daney.
2003-11-07  David Daney  <ddaney@avtrex.com>

	* config.gcc (mips*-*-linux*): mipsisa32 no longer defaults to
	MASK_SOFT_FLOAT.  MASK_SOFT_FLOAT is instead set via --with-float=soft

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.406
diff -3 -u -p -r1.406 config.gcc
--- config.gcc	3 Nov 2003 21:44:07 -0000	1.406
+++ config.gcc	7 Nov 2003 19:24:24 -0000
@@ -1498,10 +1498,13 @@ mips*-*-linux*)				# Linux MIPS, either 
         tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h"
 	case ${target} in
         mipsisa32*-*)
-                target_cpu_default="MASK_SOFT_FLOAT"
 		tm_defines="MIPS_ISA_DEFAULT=32"
                 ;;
         esac
+	if test x$with_float = xsoft
+	then
+		target_cpu_default="MASK_SOFT_FLOAT"
+	fi
 	tmake_file="t-slibgcc-elf-ver t-linux"
 	;;
 mips*-*-openbsd*)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]