From: Richard Sandiford Date: Wed, 7 Dec 2005 13:25:08 +0000 (+0000) Subject: coretypes.h: Revert previous change. X-Git-Tag: releases/gcc-4.2.0~5528 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e230dfa1d6ff966fcaa34648d00e2274de480ee;p=thirdparty%2Fgcc.git coretypes.h: Revert previous change. * coretypes.h: Revert previous change. * config/darwin.h: Revert previous reversion. * config/avr/avr.h (progmem_section): Guard with #ifndef IN_LIBGCC2. From-SVN: r108163 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e8d31049beb..386dcac8fd4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-12-07 Richard Sandiford + + * coretypes.h: Revert previous change. + * config/darwin.h: Revert previous reversion. + * config/avr/avr.h (progmem_section): Guard with #ifndef IN_LIBGCC2. + 2005-12-07 Richard Sandiford * coretypes.h (section): Provide dummy definition for target files. diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index d69e67b7eba2..6fe46014dc45 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -47,7 +47,9 @@ extern const char *avr_extra_arch_macro; extern int avr_mega_p; extern int avr_enhanced_p; extern int avr_asm_only_p; +#ifndef IN_LIBGCC2 extern GTY(()) section *progmem_section; +#endif #define AVR_MEGA (avr_mega_p && !TARGET_SHORT_CALLS) #define AVR_ENHANCED (avr_enhanced_p) diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 8afae4518e61..ff220a2c517f 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -610,9 +610,11 @@ Boston, MA 02110-1301, USA. */ #define MAX_OFILE_ALIGNMENT 0x8000 /* Declare the section variables. */ +#ifndef IN_LIBGCC2 #define DEF_SECTION(NAME, FLAGS, DIRECTIVE, OBJC) extern section *NAME; #include "darwin-sections.def" #undef DEF_SECTION +#endif #undef TARGET_ASM_SELECT_SECTION #define TARGET_ASM_SELECT_SECTION machopic_select_section diff --git a/gcc/coretypes.h b/gcc/coretypes.h index f0607332e10c..7942459c9b5d 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -68,11 +68,9 @@ enum tls_model { struct _dont_use_rtx_here_; struct _dont_use_rtvec_here_; union _dont_use_tree_here_; -union _dont_use_section_here_; #define rtx struct _dont_use_rtx_here_ * #define rtvec struct _dont_use_rtvec_here * #define tree union _dont_use_tree_here_ * -#define section union _dont_use_section_here_ #endif