From: H.J. Lu Date: Mon, 7 Jul 2008 17:02:43 +0000 (+0000) Subject: _divtc3-compat.c: Moved to ... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd7b73c0a62547c49ee83f17cbdbef98c2738000;p=gcc.git _divtc3-compat.c: Moved to ... 2008-07-07 H.J. Lu * config/i386/64/_divtc3-compat.c: Moved to ... * config/i386/64/_divtc3.c: Here. * config/i386/64/_multc3-compat.c: Moved to ... * config/i386/64/_multc3.c: Here. * config/i386/64/_powitf2-compat.c: Moved to ... * config/i386/64/_powitf2.c: Here. * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add .c suffix instead of -compat.c. From-SVN: r137579 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 1b1024eba0e..da2a7ad2dbb 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,17 @@ +2008-07-07 H.J. Lu + + * config/i386/64/_divtc3-compat.c: Moved to ... + * config/i386/64/_divtc3.c: Here. + + * config/i386/64/_multc3-compat.c: Moved to ... + * config/i386/64/_multc3.c: Here. + + * config/i386/64/_powitf2-compat.c: Moved to ... + * config/i386/64/_powitf2.c: Here. + + * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add + .c suffix instead of -compat.c. + 2008-07-05 Uros Bizjak * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove. diff --git a/libgcc/config/i386/64/_divtc3-compat.c b/libgcc/config/i386/64/_divtc3-compat.c deleted file mode 100644 index 57ee350b7cd..00000000000 --- a/libgcc/config/i386/64/_divtc3-compat.c +++ /dev/null @@ -1,14 +0,0 @@ -#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"))); - -asm (".symver __divtc3_compat,__divtc3@GCC_4.0.0"); -asm (".symver __divtc3_shared,__divtc3@@GCC_4.3.0"); -#endif diff --git a/libgcc/config/i386/64/_divtc3.c b/libgcc/config/i386/64/_divtc3.c new file mode 100644 index 00000000000..57ee350b7cd --- /dev/null +++ b/libgcc/config/i386/64/_divtc3.c @@ -0,0 +1,14 @@ +#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"))); + +asm (".symver __divtc3_compat,__divtc3@GCC_4.0.0"); +asm (".symver __divtc3_shared,__divtc3@@GCC_4.3.0"); +#endif diff --git a/libgcc/config/i386/64/_multc3-compat.c b/libgcc/config/i386/64/_multc3-compat.c deleted file mode 100644 index 49141a9384f..00000000000 --- a/libgcc/config/i386/64/_multc3-compat.c +++ /dev/null @@ -1,14 +0,0 @@ -#ifdef SHARED -#define __multc3 __multc3_shared -#endif - -#define L_multc3 -#include "libgcc2.c" - -#ifdef SHARED -#undef __multc3 -extern __typeof__ (__multc3_shared) __multc3_compat __attribute__((alias ("__multc3_shared"))); - -asm (".symver __multc3_compat,__multc3@GCC_4.0.0"); -asm (".symver __multc3_shared,__multc3@@GCC_4.3.0"); -#endif diff --git a/libgcc/config/i386/64/_multc3.c b/libgcc/config/i386/64/_multc3.c new file mode 100644 index 00000000000..49141a9384f --- /dev/null +++ b/libgcc/config/i386/64/_multc3.c @@ -0,0 +1,14 @@ +#ifdef SHARED +#define __multc3 __multc3_shared +#endif + +#define L_multc3 +#include "libgcc2.c" + +#ifdef SHARED +#undef __multc3 +extern __typeof__ (__multc3_shared) __multc3_compat __attribute__((alias ("__multc3_shared"))); + +asm (".symver __multc3_compat,__multc3@GCC_4.0.0"); +asm (".symver __multc3_shared,__multc3@@GCC_4.3.0"); +#endif diff --git a/libgcc/config/i386/64/_powitf2-compat.c b/libgcc/config/i386/64/_powitf2-compat.c deleted file mode 100644 index 3bc3c904de7..00000000000 --- a/libgcc/config/i386/64/_powitf2-compat.c +++ /dev/null @@ -1,14 +0,0 @@ -#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"))); - -asm (".symver __powitf2_compat,__powitf2@GCC_4.0.0"); -asm (".symver __powitf2_shared,__powitf2@@GCC_4.3.0"); -#endif diff --git a/libgcc/config/i386/64/_powitf2.c b/libgcc/config/i386/64/_powitf2.c new file mode 100644 index 00000000000..3bc3c904de7 --- /dev/null +++ b/libgcc/config/i386/64/_powitf2.c @@ -0,0 +1,14 @@ +#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"))); + +asm (".symver __powitf2_compat,__powitf2@GCC_4.0.0"); +asm (".symver __powitf2_shared,__powitf2@@GCC_4.3.0"); +#endif diff --git a/libgcc/config/i386/64/t-softfp-compat b/libgcc/config/i386/64/t-softfp-compat index e8cda296cbd..c7555ab6aea 100644 --- a/libgcc/config/i386/64/t-softfp-compat +++ b/libgcc/config/i386/64/t-softfp-compat @@ -8,5 +8,5 @@ LIB2ADD += $(addprefix $(srcdir)/config/i386/64/, $(tf-compats)) # Replace _divtc3, _multc3 and _powitf2. libgcc2-tf-functions = _divtc3 _multc3 _powitf2 LIB2FUNCS_EXCLUDE += $(libgcc2-tf-functions) -libgcc2-tf-compats = $(addsuffix -compat.c, $(libgcc2-tf-functions)) +libgcc2-tf-compats = $(addsuffix .c, $(libgcc2-tf-functions)) LIB2ADD += $(addprefix $(srcdir)/config/i386/64/, $(libgcc2-tf-compats))