Commit 0e230dfa by Richard Sandiford Committed by Richard Sandiford

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
parent 911ffe72
2005-12-07 Richard Sandiford <richard@codesourcery.com> 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. * coretypes.h (section): Provide dummy definition for target files.
* config/darwin.h: Revert previous change. * config/darwin.h: Revert previous change.
......
...@@ -47,7 +47,9 @@ extern const char *avr_extra_arch_macro; ...@@ -47,7 +47,9 @@ extern const char *avr_extra_arch_macro;
extern int avr_mega_p; extern int avr_mega_p;
extern int avr_enhanced_p; extern int avr_enhanced_p;
extern int avr_asm_only_p; extern int avr_asm_only_p;
#ifndef IN_LIBGCC2
extern GTY(()) section *progmem_section; extern GTY(()) section *progmem_section;
#endif
#define AVR_MEGA (avr_mega_p && !TARGET_SHORT_CALLS) #define AVR_MEGA (avr_mega_p && !TARGET_SHORT_CALLS)
#define AVR_ENHANCED (avr_enhanced_p) #define AVR_ENHANCED (avr_enhanced_p)
......
...@@ -610,9 +610,11 @@ Boston, MA 02110-1301, USA. */ ...@@ -610,9 +610,11 @@ Boston, MA 02110-1301, USA. */
#define MAX_OFILE_ALIGNMENT 0x8000 #define MAX_OFILE_ALIGNMENT 0x8000
/* Declare the section variables. */ /* Declare the section variables. */
#ifndef IN_LIBGCC2
#define DEF_SECTION(NAME, FLAGS, DIRECTIVE, OBJC) extern section *NAME; #define DEF_SECTION(NAME, FLAGS, DIRECTIVE, OBJC) extern section *NAME;
#include "darwin-sections.def" #include "darwin-sections.def"
#undef DEF_SECTION #undef DEF_SECTION
#endif
#undef TARGET_ASM_SELECT_SECTION #undef TARGET_ASM_SELECT_SECTION
#define TARGET_ASM_SELECT_SECTION machopic_select_section #define TARGET_ASM_SELECT_SECTION machopic_select_section
......
...@@ -68,11 +68,9 @@ enum tls_model { ...@@ -68,11 +68,9 @@ enum tls_model {
struct _dont_use_rtx_here_; struct _dont_use_rtx_here_;
struct _dont_use_rtvec_here_; struct _dont_use_rtvec_here_;
union _dont_use_tree_here_; union _dont_use_tree_here_;
union _dont_use_section_here_;
#define rtx struct _dont_use_rtx_here_ * #define rtx struct _dont_use_rtx_here_ *
#define rtvec struct _dont_use_rtvec_here * #define rtvec struct _dont_use_rtvec_here *
#define tree union _dont_use_tree_here_ * #define tree union _dont_use_tree_here_ *
#define section union _dont_use_section_here_
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment