+2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * 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 <ubizjak@gmail.com>
* config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
+++ /dev/null
-#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
--- /dev/null
+#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
+++ /dev/null
-#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
--- /dev/null
+#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
+++ /dev/null
-#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
--- /dev/null
+#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
# 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))