This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] configure mips*-linux and soft-float...
- From: David Daney <ddaney at avtrex dot com>
- To: gcc-patches at gcc dot gnu dot org, Eric Christopher <echristo at redhat dot com>
- Date: Fri, 07 Nov 2003 11:27:29 -0800
- Subject: [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*)