From: Richard Sandiford Date: Wed, 7 Dec 2005 21:47:27 +0000 (+0000) Subject: darwin.h: Guard section variables with #ifndef USED_FOR_TARGET. X-Git-Tag: releases/gcc-4.2.0~5517 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e23a08b554d8440add3191dabfd54b1d36ca88;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cdf18d67e55f..eaa8872e4c71 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 ff220a2c517f..b27e03df0b21 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