aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config.host
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-02-07 07:46:34 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-02-07 07:46:34 +0000
commit1c51d6883ae957c26cbd2a71c09291e34a21f73c (patch)
tree9d53b8933341fc4dff85d5421e2b2231852248bd /libgcc/config.host
parent6d6af792827fa779531662366b6dadad477a84dc (diff)
downloadgcc-1c51d6883ae957c26cbd2a71c09291e34a21f73c.zip
gcc-1c51d6883ae957c26cbd2a71c09291e34a21f73c.tar.gz
gcc-1c51d6883ae957c26cbd2a71c09291e34a21f73c.tar.bz2
configure.ac (libgcc_cv_mips_hard_float): New.
libgcc/ * configure.ac (libgcc_cv_mips_hard_float): New. * configure: Regenerate. * config.host (mips*-*-*): Use t-hardfp-sfdf rather than t-softfp-sfdf for hard-float targets. * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate. (softfp_float_modes, softfp_int_modes, softfp_extensions) (softfp_truncations, softfp_exclude_libgcc2): New. * config/t-hardfp: New file. * config/t-hardfp-sfdf: Likewise. * config/hardfp.c: Likewise. From-SVN: r207593
Diffstat (limited to 'libgcc/config.host')
-rw-r--r--libgcc/config.host7
1 files changed, 6 insertions, 1 deletions
diff --git a/libgcc/config.host b/libgcc/config.host
index 902a582..0b83fc0 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -142,7 +142,12 @@ microblaze*-*-*)
mips*-*-*)
# All MIPS targets provide a full set of FP routines.
cpu_type=mips
- tmake_file="mips/t-mips t-softfp-sfdf"
+ tmake_file="mips/t-mips"
+ if test "${libgcc_cv_mips_hard_float}" = yes; then
+ tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp"
+ else
+ tmake_file="${tmake_file} t-softfp-sfdf"
+ fi
if test "${ac_cv_sizeof_long_double}" = 16; then
tmake_file="${tmake_file} mips/t-softfp-tf"
fi