PR target/28617
* config/rs6000/rs6000.h [IN_LIBGCC2] (TARGET_POWERPC64): Define
to 1 when __ppc64__ is defined.
* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add ppc64-fp.c and
darwin-64.c.
* config/rs6000/ppc64-fp.c: Also compile when __ppc64__ is defined.
From-SVN: r117296
+2006-09-28 Geoffrey Keating <geoffk@apple.com>
+
+ PR target/28617
+ * config/rs6000/rs6000.h [IN_LIBGCC2] (TARGET_POWERPC64): Define
+ to 1 when __ppc64__ is defined.
+ * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add ppc64-fp.c and
+ darwin-64.c.
+ * config/rs6000/ppc64-fp.c: Also compile when __ppc64__ is defined.
+
2006-09-28 Steve Ellcey <sje@cup.hp.com>
* config/ia64/t-hpux (LIB2FUNCS_EXTRA): Remove unwind-hpux.c.
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */
-#if defined(__powerpc64__) || defined (__64BIT__)
+#if defined(__powerpc64__) || defined (__64BIT__) || defined(__ppc64__)
#define TMODES
#include "config/fp-bit.h"
#ifdef IN_LIBGCC2
/* For libgcc2 we make sure this is a compile time constant */
-#if defined (__64BIT__) || defined (__powerpc64__)
+#if defined (__64BIT__) || defined (__powerpc64__) || defined (__ppc64__)
#undef TARGET_POWERPC64
#define TARGET_POWERPC64 1
#else
LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/darwin-tramp.asm \
+ $(srcdir)/config/rs6000/ppc64-fp.c \
+ $(srcdir)/config/darwin-64.c \
$(srcdir)/config/rs6000/darwin-ldouble.c
LIB2FUNCS_STATIC_EXTRA = \