From: Richard Sandiford Date: Wed, 7 Dec 2005 09:17:01 +0000 (+0000) Subject: * config/darwin.h: Guard section variables with #ifndef IN_LIBGCC2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fee67063c459b63d91314748f5f5a827cf4890a7;p=gcc.git * config/darwin.h: Guard section variables with #ifndef IN_LIBGCC2. From-SVN: r108153 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 89281dbe4fd..f1e85f7e79a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-12-07 Richard Sandiford + + * config/darwin.h: Guard section variables with #ifndef IN_LIBGCC2. + 2005-12-07 Richard Sandiford * config/alpha/alpha.c (alpha_start_function): Use switch_to_section. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 8afae4518e6..ff220a2c517 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