f0375e7861
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
16 lines
293 B
C
16 lines
293 B
C
#ifdef SHARED
|
|
#define __gttf2 __gttf2_shared
|
|
#endif
|
|
|
|
#include "config/soft-fp/getf2.c"
|
|
|
|
#ifdef SHARED
|
|
#undef __gttf2
|
|
strong_alias (__gttf2_shared, __gttf2_compat);
|
|
|
|
#ifndef _WIN32
|
|
asm (".symver __gttf2_compat,__gttf2@GCC_3.0");
|
|
asm (".symver __gttf2_shared,__gttf2@@GCC_4.3.0");
|
|
#endif
|
|
#endif
|