]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/darwin.h: Guard section variables with #ifndef IN_LIBGCC2.
authorRichard Sandiford <richard@codesourcery.com>
Wed, 7 Dec 2005 09:17:01 +0000 (09:17 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 7 Dec 2005 09:17:01 +0000 (09:17 +0000)
From-SVN: r108153

gcc/ChangeLog
gcc/config/darwin.h

index 89281dbe4fde809682f25516749dfe417fc0c043..f1e85f7e79a397c700b30c04a8ac9769869a6934 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-07  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/darwin.h: Guard section variables with #ifndef IN_LIBGCC2.
+
 2005-12-07  Richard Sandiford  <richard@codesourcery.com>
 
        * config/alpha/alpha.c (alpha_start_function): Use switch_to_section.
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