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
17 lines
355 B
C
17 lines
355 B
C
#ifdef SHARED
|
|
#define __divtc3 __divtc3_shared
|
|
#endif
|
|
|
|
#define L_divtc3
|
|
#include "libgcc2.c"
|
|
|
|
#ifdef SHARED
|
|
#undef __divtc3
|
|
extern __typeof__ (__divtc3_shared) __divtc3_compat __attribute__((alias ("__divtc3_shared")));
|
|
|
|
#ifndef _WIN32
|
|
asm (".symver __divtc3_compat,__divtc3@GCC_4.0.0");
|
|
asm (".symver __divtc3_shared,__divtc3@@GCC_4.3.0");
|
|
#endif
|
|
#endif
|