From c3e23a08b554d8440add3191dabfd54b1d36ca88 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 7 Dec 2005 21:47:27 +0000 Subject: [PATCH] darwin.h: Guard section variables with #ifndef USED_FOR_TARGET. 2005-12-07 Richard Sandiford Andreas Tobler * config/darwin.h: Guard section variables with #ifndef USED_FOR_TARGET. Co-Authored-By: Andreas Tobler From-SVN: r108191 --- gcc/ChangeLog | 5 +++++ gcc/config/darwin.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cdf18d67e55..eaa8872e4c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-07 Richard Sandiford + Andreas Tobler + + * config/darwin.h: Guard section variables with #ifndef USED_FOR_TARGET. + 2005-12-07 Daniel Berlin * tree-ssa-pre.c (bitmap_set_and): New function. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index ff220a2c517..b27e03df0b2 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 -- 2.30.2