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
366 B
C
17 lines
366 B
C
#ifdef SHARED
|
|
#define __powitf2 __powitf2_shared
|
|
#endif
|
|
|
|
#define L_powitf2
|
|
#include "libgcc2.c"
|
|
|
|
#ifdef SHARED
|
|
#undef __powitf2
|
|
extern __typeof__ (__powitf2_shared) __powitf2_compat __attribute__((alias ("__powitf2_shared")));
|
|
|
|
#ifndef _WIN32
|
|
asm (".symver __powitf2_compat,__powitf2@GCC_4.0.0");
|
|
asm (".symver __powitf2_shared,__powitf2@@GCC_4.3.0");
|
|
#endif
|
|
#endif
|