diff options
author | Kai Tietz <ktietz@gcc.gnu.org> | 2009-06-22 16:04:19 +0200 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2009-06-22 16:04:19 +0200 |
commit | f0375e7861101189c0f9c6159ff7d0f9fd61c84e (patch) | |
tree | 394b4627bcbefa076f61363862053b8d80fd8f9e /gcc | |
parent | 3f53cdbe6721b84b0e0fd82e420921a685108395 (diff) | |
download | gcc-f0375e7861101189c0f9c6159ff7d0f9fd61c84e.zip gcc-f0375e7861101189c0f9c6159ff7d0f9fd61c84e.tar.gz gcc-f0375e7861101189c0f9c6159ff7d0f9fd61c84e.tar.bz2 |
ChangeLog for gcc
2009-06-22 Kai Tietz <kai.tietz@onevision.com>
* config.gcc: Add for x86 and x64 mingw targets t-fprules-soft
and t-softfp support.
* config/i386/mingw32.h (LIBGCC2_HAS_TF_MODE): Enable TFmode.
(LIBGCC2_TF_CEXT): Define.
(TF_SIZE): Define.
ChangeLog for libgcc
2009-06-22 Kai Tietz <kai.tietz@onevision.com>
* config.host: Add soft emulation for x86 and x64 mingw targets.
* config/i386/64/_divtc3.c: Disable for mingw targets usage of
.symver assembly symbol.
* config/i386/64/_multc3.c: Likewise.
* config/i386/64/_powitf2.c: Likewise.
* config/i386/64/eqtf2.c: Likewise.
* config/i386/64/getf2.c: Likewise.
* config/i386/64/letf2.c: Likewise.
* config/i386/64/letf2.c: Likewise.
* config/i386/64/sfp-machine.h (_FP_W_TYPE): Define it
for x64 mingw target as unsigned long long.
(_FP_WS_TYPE): Define it for x64 mingw target as signed long
long.
(_FP_I_TYPE): Define it for x64 mingw target as long long.
From-SVN: r148798
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/i386/mingw32.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 7b59917..0105fcb 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3136,7 +3136,7 @@ case ${target} in i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu) tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux" ;; - i[34567]86-*-cygwin*) + i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" ;; ia64*-*-linux*) diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 746d7d1..6043e24 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -123,6 +123,14 @@ along with GCC; see the file COPYING3. If not see #define STANDARD_STARTFILE_PREFIX_2 "" #endif +/* Put all *tf routines in libgcc. */ +#undef LIBGCC2_HAS_TF_MODE +#define LIBGCC2_HAS_TF_MODE 1 +#undef LIBGCC2_TF_CEXT +#define LIBGCC2_TF_CEXT q +#undef TF_SIZE +#define TF_SIZE 113 + /* Output STRING, a string representing a filename, to FILE. We canonicalize it to be in Unix format (backslashes are replaced forward slashes. */ |