From 1c51d6883ae957c26cbd2a71c09291e34a21f73c Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 7 Feb 2014 07:46:34 +0000 Subject: 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 --- libgcc/config.host | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libgcc/config.host') 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 -- cgit v1.1