]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
coretypes.h: Revert previous change.
authorRichard Sandiford <richard@codesourcery.com>
Wed, 7 Dec 2005 13:25:08 +0000 (13:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 7 Dec 2005 13:25:08 +0000 (13:25 +0000)
* 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

gcc/ChangeLog
gcc/config/avr/avr.h
gcc/config/darwin.h
gcc/coretypes.h

index 8e8d31049beb445b9a5e05a77edd4b082a030acc..386dcac8fd4c8a2259b8102b1b30fdcdedd22117 100644 (file)
@@ -1,3 +1,9 @@
+2005-12-07  Richard Sandiford  <richard@codesourcery.com>
+
+       * 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  <richard@codesourcery.com>
 
        * coretypes.h (section): Provide dummy definition for target files.
index d69e67b7eba25c00ff536dcd9151c82eaa9e0e1e..6fe46014dc453c15fa402a3473d83cb869b38a01 100644 (file)
@@ -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)
index 8afae4518e6187c7a8e46a86ba9f1b58bceedee8..ff220a2c517f9b350d07a593f49e607da9c9486b 100644 (file)
@@ -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
index f0607332e10c01a91311ee301a2e7acff9fbd9e6..7942459c9b5d978a8b6dda3e56a087312c6c2364 100644 (file)
@@ -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