From: Eric Christopher Date: Thu, 7 Sep 2006 21:07:24 +0000 (+0000) Subject: darwin.h (HANDLE_SYSV_PRAGMA): Move from here... X-Git-Tag: releases/gcc-4.2.0~1493 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05d36da1b4454bd57001b65f286f3bebbb79f9f2;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec6214a384d1..a91228bfaf8f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-09-07 Eric Christopher + + * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Move from here... + * config/darwin.h: ... to here. + 2006-09-07 H.J. Lu * config/i386/i386.c (x86_partial_flag_reg_stall): New. @@ -270,7 +275,7 @@ PR other/22313 * dwarf2out.c (add_fde_cfi): Use a set_loc if the current label is - NULL, otherwise use an advance_loc4 to adjust relative to the + NULL, otherwise use an advance_loc4 to adjust relative to the current label. (output_cfi) : Update the current label. (dwarf2out_switch_text_section): Reset the current label to avoid @@ -467,7 +472,7 @@ 2006-08-24 Bill Wendling * doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English. - + 2006-08-24 Jan Hubicka * reload1.c (emit_reload_insns): Fix yet another typo in my patch. @@ -556,7 +561,7 @@ * gimplify.c (gimplify_init_constructor) : Arrange for the temporary captures of components overlapping the lhs to happen before the lhs is possibly cleared. - + 2006-08-21 Mark Shinwell * config/arm/pr-support.c (__gnu_unwind_execute): Insert " + 1" in @@ -679,10 +684,10 @@ PR c++/28573 * c-common.c (fold_offsetof_1): Add an argument and recurse down to it - or the INTEGER_CST. Fail on a CALL_EXPR. + or the INTEGER_CST. Fail on a CALL_EXPR. (fold_offsetof): Pass new argument to fold_offsetof_1. * c-parser.c (c_parser_postfix_expression): Don't include a NULL - operand into an INDIRECT_REF. + operand into an INDIRECT_REF. * c-typeck.c (build_unary_op): Adjust call to fold_offsetof. 2006-08-16 Zdenek Dvorak @@ -1020,7 +1025,7 @@ * rtl.h (UINTVAL) New. * config/rs6000/rs6000.c (SMALL_INT) Use it. * testsuite/gcc.dg/20060801-1.c: New. - + 2006-08-01 Daniel Jacobowitz PR debug/23336 diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 941f60b357d5..f2140da57785 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 f598914df561..0d97072a3225 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 \ { \