aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2008-07-02 19:31:53 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2008-07-02 12:31:53 -0700
commitc174f11c1b17eaebe8e8ffe4f10c197258e76bf9 (patch)
treee4b89385d083a16f162be8a3bde57a57760ef1ef /libgcc
parent5f464fa2998e38d5a515065c8f1b286d7f933fa9 (diff)
downloadgcc-c174f11c1b17eaebe8e8ffe4f10c197258e76bf9.zip
gcc-c174f11c1b17eaebe8e8ffe4f10c197258e76bf9.tar.gz
gcc-c174f11c1b17eaebe8e8ffe4f10c197258e76bf9.tar.bz2
re PR bootstrap/36702 (Bootstrap fails at revision 137369 on i686-apple-darwin9)
2008-07-02 H.J. Lu <hongjiu.lu@intel.com> 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
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog9
-rw-r--r--libgcc/config.host13
-rw-r--r--libgcc/config/i386/64/t-softfp-compat (renamed from libgcc/config/i386/64/t-fprules-softfp)0
3 files changed, 21 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index d8bfd54..6779c0f 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,12 @@
+2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ 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 <ubizjak@gmail.com>
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
diff --git a/libgcc/config.host b/libgcc/config.host
index ca07a07..93d1dbf 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
index e8cda29..e8cda29 100644
--- a/libgcc/config/i386/64/t-fprules-softfp
+++ b/libgcc/config/i386/64/t-softfp-compat