diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-07 07:46:34 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-07 07:46:34 +0000 |
commit | 4b366ca99e51b2e80ceb5f2b7ece5189f43bd661 (patch) | |
tree | 9d53b8933341fc4dff85d5421e2b2231852248bd /libgcc/configure | |
parent | d0f12d442bcc3dd04b66458fc73bf21e837b6b00 (diff) | |
download | gcc-4b366ca99e51b2e80ceb5f2b7ece5189f43bd661.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libgcc/configure b/libgcc/configure index 092e20ee633..35896deb7bf 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -4330,6 +4330,30 @@ EOF eval `${CC-cc} -E conftest.c | grep host_address=` rm -f conftest.c +case ${host} in +mips*-*-*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5 +$as_echo_n "checking whether the target is hard-float... " >&6; } +if test "${libgcc_cv_mips_hard_float+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __mips_hard_float + #error FOO + #endif +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + libgcc_cv_mips_hard_float=yes +else + libgcc_cv_mips_hard_float=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5 +$as_echo "$libgcc_cv_mips_hard_float" >&6; } +esac + # Collect host-machine-specific information. . ${srcdir}/config.host |