diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-02-02 16:17:15 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-02-02 16:17:15 +0000 |
commit | 1ea0a6515f5f5da72f91ff5cfdc3723cf2b79507 (patch) | |
tree | 3b7c58c10699900c15fee4156f3368ce98a45a06 /libgcc/configure | |
parent | 70b2d364cc713fff51dcabfe987e3cb8efdcee93 (diff) | |
download | gcc-1ea0a6515f5f5da72f91ff5cfdc3723cf2b79507.tar.gz |
configure.ac: Check __mips64 when setting host_address.
libgcc/
* configure.ac: Check __mips64 when setting host_address.
* configure: Regenerate.
* config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
mips/t-mips64 and t-softfp.
(mips*-*-linux*): Don't add mips/t-tpbit.
* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
(DPBIT, DPBIT_CFLAGS): Delete.
* config/mips/sfp-machine.h: New file.
* config/mips/t-mips64: Likewise.
* config/mips/t-softfp-tf: Likewise.
* config/mips/t-tpbit: Delete.
From-SVN: r207403
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libgcc/configure b/libgcc/configure index 7e177edb288..092e20ee633 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -4317,9 +4317,11 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5 $as_echo "$libgcc_cv_cfi" >&6; } -# Check 32bit or 64bit +# Check 32bit or 64bit. In the case of MIPS, this really determines the +# word size rather than the address size. cat > conftest.c <<EOF -#if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) +#if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \ + || defined(__mips64) host_address=64 #else host_address=32 |