]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin.h: Guard section variables with #ifndef USED_FOR_TARGET.
authorRichard Sandiford <richard@codesourcery.com>
Wed, 7 Dec 2005 21:47:27 +0000 (21:47 +0000)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 7 Dec 2005 21:47:27 +0000 (22:47 +0100)
2005-12-07  Richard Sandiford  <richard@codesourcery.com>
    Andreas Tobler  <a.tobler@schweiz.ch>

* config/darwin.h: Guard section variables with #ifndef USED_FOR_TARGET.

Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch>
From-SVN: r108191

gcc/ChangeLog
gcc/config/darwin.h

index cdf18d67e55f81eec1d100f07fe8f65a6b90b0a7..eaa8872e4c715f021ff66d2d515a47068770326a 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-07  Richard Sandiford  <richard@codesourcery.com>
+           Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * config/darwin.h: Guard section variables with #ifndef USED_FOR_TARGET.
+
 2005-12-07  Daniel Berlin  <dberlin@dberlin.org>
 
        * tree-ssa-pre.c (bitmap_set_and): New function.
index ff220a2c517f9b350d07a593f49e607da9c9486b..b27e03df0b210192a7e57c6a04e089d656a73bba 100644 (file)
@@ -610,7 +610,7 @@ Boston, MA 02110-1301, USA.  */
 #define MAX_OFILE_ALIGNMENT 0x8000
 
 /* Declare the section variables.  */
-#ifndef IN_LIBGCC2
+#ifndef USED_FOR_TARGET
 #define DEF_SECTION(NAME, FLAGS, DIRECTIVE, OBJC) extern section *NAME;
 #include "darwin-sections.def"
 #undef DEF_SECTION