diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2012-02-23 10:16:39 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2012-02-23 10:16:39 +0000 |
commit | e10e461eef055d717f9ec46708488a7a25c9d0b1 (patch) | |
tree | 6e8b20f8fae47a4ac30a16dbb56169aa34f079da /gcc | |
parent | afe03c233e7fc3e1d7d37ca95f2f72cab40248a0 (diff) | |
download | gcc-e10e461eef055d717f9ec46708488a7a25c9d0b1.zip gcc-e10e461eef055d717f9ec46708488a7a25c9d0b1.tar.gz gcc-e10e461eef055d717f9ec46708488a7a25c9d0b1.tar.bz2 |
acinclude.m4: Use HAVE_INITFINI_ARRAY_SUPPORT instead of HAVE_INITFINI_ARRAY to work around...
gcc/
* acinclude.m4: Use HAVE_INITFINI_ARRAY_SUPPORT instead of
HAVE_INITFINI_ARRAY to work around namespace pollution in
certain versions of newlib system headers.
* config.in: Regenerate.
* configure: Regenerate.
* config/initfini-array.h: Use HAVE_INITFINI_ARRAY_SUPPORT
instead of HAVE_INITFINI_ARRAY.
libgcc/
* config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
instead of HAVE_INITFINI_ARRAY.
* config/ia64/crtend.S: Likewise.
From-SVN: r184503
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/acinclude.m4 | 2 | ||||
-rw-r--r-- | gcc/config.in | 2 | ||||
-rw-r--r-- | gcc/config/initfini-array.h | 2 | ||||
-rwxr-xr-x | gcc/configure | 2 |
5 files changed, 14 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48488af..11d53e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * acinclude.m4: Use HAVE_INITFINI_ARRAY_SUPPORT instead of + HAVE_INITFINI_ARRAY to work around namespace pollution in + certain versions of newlib system headers. + * config.in: Regenerate. + * configure: Regenerate. + * config/initfini-array.h: Use HAVE_INITFINI_ARRAY_SUPPORT + instead of HAVE_INITFINI_ARRAY. + 2012-02-22 Uros Bizjak <ubizjak@gmail.com> PR target/52330 diff --git a/gcc/acinclude.m4 b/gcc/acinclude.m4 index 0c6170c..a394847 100644 --- a/gcc/acinclude.m4 +++ b/gcc/acinclude.m4 @@ -486,7 +486,7 @@ changequote([,])dnl enable_initfini_array=$gcc_cv_initfini_array ]) if test $enable_initfini_array = yes; then - AC_DEFINE(HAVE_INITFINI_ARRAY, 1, + AC_DEFINE(HAVE_INITFINI_ARRAY_SUPPORT, 1, [Define .init_array/.fini_array sections are available and working.]) fi]) diff --git a/gcc/config.in b/gcc/config.in index 2833211..9b8d206 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -1123,7 +1123,7 @@ /* Define .init_array/.fini_array sections are available and working. */ #ifndef USED_FOR_TARGET -#undef HAVE_INITFINI_ARRAY +#undef HAVE_INITFINI_ARRAY_SUPPORT #endif diff --git a/gcc/config/initfini-array.h b/gcc/config/initfini-array.h index bb48c70..ade9fcd 100644 --- a/gcc/config/initfini-array.h +++ b/gcc/config/initfini-array.h @@ -19,7 +19,7 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ -#ifdef HAVE_INITFINI_ARRAY +#ifdef HAVE_INITFINI_ARRAY_SUPPORT #define USE_INITFINI_ARRAY diff --git a/gcc/configure b/gcc/configure index 4bca790..94b33ce 100755 --- a/gcc/configure +++ b/gcc/configure @@ -22515,7 +22515,7 @@ fi if test $enable_initfini_array = yes; then -$as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h +$as_echo "#define HAVE_INITFINI_ARRAY_SUPPORT 1" >>confdefs.h fi |