aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2005-12-07 09:17:01 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-12-07 09:17:01 +0000
commitfee67063c459b63d91314748f5f5a827cf4890a7 (patch)
tree476802598bb3772044962398883ecf26c92963fa /gcc/config/darwin.h
parentd6b5193bfc37d56ae15742b03f29001c61cd3ec6 (diff)
downloadgcc-fee67063c459b63d91314748f5f5a827cf4890a7.zip
gcc-fee67063c459b63d91314748f5f5a827cf4890a7.tar.gz
gcc-fee67063c459b63d91314748f5f5a827cf4890a7.tar.bz2
* config/darwin.h: Guard section variables with #ifndef IN_LIBGCC2.
From-SVN: r108153
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h2
1 files changed, 2 insertions, 0 deletions
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