From c174f11c1b17eaebe8e8ffe4f10c197258e76bf9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 2 Jul 2008 19:31:53 +0000 Subject: [PATCH] re PR bootstrap/36702 (Bootstrap fails at revision 137369 on i686-apple-darwin9) 2008-07-02 H.J. Lu PR boostrap/36702 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86. * config/i386/64/t-fprules-softfp: Moved to ... * config/i386/64/t-softfp-compat: This. New. From-SVN: r137380 --- libgcc/ChangeLog | 9 +++++++++ libgcc/config.host | 13 ++++++++++++- .../i386/64/{t-fprules-softfp => t-softfp-compat} | 0 3 files changed, 21 insertions(+), 1 deletion(-) rename libgcc/config/i386/64/{t-fprules-softfp => t-softfp-compat} (100%) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index d8bfd54eed3..6779c0f7732 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,12 @@ +2008-07-02 H.J. Lu + + PR boostrap/36702 + * config.host: Only include 32bit t-fprules-softfp for Darwin/x86 + and Linux/x86. Include 64bit t-softfp-compat for Linux/x86. + + * config/i386/64/t-fprules-softfp: Moved to ... + * config/i386/64/t-softfp-compat: This. New. + 2008-07-02 Uros Bizjak * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]: diff --git a/libgcc/config.host b/libgcc/config.host index ca07a07fadc..93d1dbfacbb 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -582,6 +582,17 @@ esac case ${host} in i[34567]86-*-darwin* | x86_64-*-darwin* | \ i[34567]86-*-linux* | x86_64-*-linux*) - tmake_file="${tmake_file} i386/${host_address}/t-fprules-softfp" + if test "${host_address}" = 32; then + tmake_file="${tmake_file} i386/${host_address}/t-fprules-softfp" + fi + ;; +esac + +case ${host} in +i[34567]86-*-linux* | x86_64-*-linux*) + # Provide backward binary compatibility for 64bit Linux/x86. + if test "${host_address}" = 64; then + tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat" + fi ;; esac diff --git a/libgcc/config/i386/64/t-fprules-softfp b/libgcc/config/i386/64/t-softfp-compat similarity index 100% rename from libgcc/config/i386/64/t-fprules-softfp rename to libgcc/config/i386/64/t-softfp-compat -- 2.30.2