diff options
-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 |