diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-02 19:31:53 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-02 19:31:53 +0000 |
commit | 144633f4cea4fec40e19707c84cc08267dae178f (patch) | |
tree | e4b89385d083a16f162be8a3bde57a57760ef1ef /libgcc/config.host | |
parent | e25ffafe33a280214f30eb3db8114022ab330b32 (diff) | |
download | gcc-144633f4cea4fec40e19707c84cc08267dae178f.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config.host')
-rw-r--r-- | libgcc/config.host | 13 |
1 files changed, 12 insertions, 1 deletions
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 |