From 1106f6fcff5fa57d36df915aadecb8cb17a0178a Mon Sep 17 00:00:00 2001 From: dje Date: Fri, 29 Oct 2004 17:09:05 +0000 Subject: [PATCH] * config/rs6000/sysv4.h (TARGET_POWER): Define as 0. * config/rs6000/darwin.h (TARGET_POWER): Define as 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89846 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/darwin.h | 4 ++++ gcc/config/rs6000/sysv4.h | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb4b35c..29458ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-29 David Edelsohn + + * config/rs6000/sysv4.h (TARGET_POWER): Define as 0. + * config/rs6000/darwin.h (TARGET_POWER): Define as 0. + 2004-10-29 Kazu Hirata * tree-phinodes.c (make_phi_node, resize_phi_node): Don't zero diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 6b01701..ea4ef1a 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -293,6 +293,10 @@ do { \ #define TARGET_DEFAULT (MASK_POWERPC | MASK_MULTIPLE | MASK_NEW_MNEMONICS \ | MASK_PPC_GFXOPT) +/* Darwin only runs on PowerPC, so short-circuit POWER patterns. */ +#undef TARGET_POWER +#define TARGET_POWER 0 + /* Since Darwin doesn't do TOCs, stub this out. */ #define ASM_OUTPUT_SPECIAL_POOL_ENTRY_P(X, MODE) 0 diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 59bef41..f7a100f 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -324,6 +324,10 @@ do { \ #undef PROCESSOR_DEFAULT #define PROCESSOR_DEFAULT PROCESSOR_PPC750 +/* SVR4 only defined for PowerPC, so short-circuit POWER patterns. */ +#undef TARGET_POWER +#define TARGET_POWER 0 + #define FIXED_R2 1 /* System V.4 uses register 13 as a pointer to the small data area, so it is not available to the normal user. */ -- 2.7.4