From 05d36da1b4454bd57001b65f286f3bebbb79f9f2 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 7 Sep 2006 21:07:24 +0000 Subject: darwin.h (HANDLE_SYSV_PRAGMA): Move from here... 2006-09-07 Eric Christopher * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Move from here... * config/darwin.h: ... to here. From-SVN: r116762 --- gcc/config/darwin.h | 3 +++ gcc/config/rs6000/darwin.h | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 941f60b..f2140da 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -825,6 +825,9 @@ enum machopic_addr_class { #undef TARGET_ASM_NAMED_SECTION #define TARGET_ASM_NAMED_SECTION darwin_asm_named_section +/* Handle pragma weak and pragma pack. */ +#define HANDLE_SYSV_PRAGMA 1 + #define DARWIN_REGISTER_TARGET_PRAGMAS() \ do { \ c_register_pragma (0, "mark", darwin_pragma_ignore); \ diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index f598914..0d97072 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -52,10 +52,6 @@ /* Translate config/rs6000/darwin.opt to config/darwin.h. */ #define TARGET_DYNAMIC_NO_PIC (TARGET_MACHO_DYNAMIC_NO_PIC) -/* Handle #pragma weak and #pragma pack. */ -#define HANDLE_SYSV_PRAGMA 1 - - #define TARGET_OS_CPP_BUILTINS() \ do \ { \ -- cgit v1.1