aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2005-12-07 13:25:08 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-12-07 13:25:08 +0000
commit0e230dfa1d6ff966fcaa34648d00e2274de480ee (patch)
tree71252e8734ef22e00313944576193438753ea882 /gcc/config
parent911ffe72bf858e635d7bee0c1548867503ae8d3c (diff)
downloadgcc-0e230dfa1d6ff966fcaa34648d00e2274de480ee.zip
gcc-0e230dfa1d6ff966fcaa34648d00e2274de480ee.tar.gz
gcc-0e230dfa1d6ff966fcaa34648d00e2274de480ee.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/avr/avr.h2
-rw-r--r--gcc/config/darwin.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index d69e67b..6fe4601 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 8afae45..ff220a2 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