diff options
author | Richard Sandiford <richard@codesourcery.com> | 2005-12-07 21:47:27 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2005-12-07 22:47:27 +0100 |
commit | c3e23a08b554d8440add3191dabfd54b1d36ca88 (patch) | |
tree | 6d31c98ee67cb359934781181ae1634d2849dbfa | |
parent | 7a77407957e5056e64e7a8a417035e98dec76cf0 (diff) | |
download | gcc-c3e23a08b554d8440add3191dabfd54b1d36ca88.zip gcc-c3e23a08b554d8440add3191dabfd54b1d36ca88.tar.gz gcc-c3e23a08b554d8440add3191dabfd54b1d36ca88.tar.bz2 |
darwin.h: Guard section variables with #ifndef USED_FOR_TARGET.
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/darwin.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cdf18d6..eaa8872 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index ff220a2..b27e03d 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -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 |