libgcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Apr 2012 08:03:54 +0000 (08:03 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Apr 2012 08:03:54 +0000 (08:03 +0000)
2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>

* config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
(mips*-*-linux*): Include mips/t-tpbit when long double is
16 bytes long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186931 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/config.host

index 16fb553..2d60c3f 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove. 
+       (mips*-*-linux*): Include mips/t-tpbit when long double is 
+       16 bytes long. 
+
 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
 
        * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
index c652dba..2dbb95b 100644 (file)
@@ -728,15 +728,13 @@ microblaze*-*-*)
        ;;
 mips*-*-netbsd*)                       # NetBSD/mips, either endian.
        ;;
-mips64*-*-linux* | mipsisa64*-*-linux*)
-       extra_parts="$extra_parts crtfastmath.o"
-       tmake_file="${tmake_file} t-crtfm mips/t-mips16 mips/t-tpbit"
-       md_unwind_header=mips/linux-unwind.h
-       ;;
 mips*-*-linux*)                                # Linux MIPS, either endian.
        extra_parts="$extra_parts crtfastmath.o"
        tmake_file="${tmake_file} t-crtfm mips/t-mips16"
        md_unwind_header=mips/linux-unwind.h
+       if test "${ac_cv_sizeof_long_double}" = 16; then
+               tmake_file="${tmake_file} mips/t-tpbit"
+       fi
        ;;
 mips*-sde-elf*)
        tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"