re PR target/28617 (___divti3 and ___umodti3 undefined for -m64 on powerpc-apple-darwin8)
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
This commit is contained in:
parent
91cd72c935
commit
67796c1fc2
@ -1,3 +1,12 @@
|
||||
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.
|
||||
|
@ -30,7 +30,7 @@ along with GCC; see the file COPYING. If not, write to the Free
|
||||
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"
|
||||
|
||||
|
@ -178,7 +178,7 @@
|
||||
|
||||
#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
|
||||
|
@ -1,4 +1,6 @@
|
||||
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 = \
|
||||
|
Loading…
Reference in New Issue
Block a user