From 3f73d6ef90458b45bbbb33ef4c2b174d4662a22d Mon Sep 17 00:00:00 2001 From: Jing Yu Date: Wed, 15 Feb 2012 15:40:16 -0800 Subject: Sync down FSF r184235@google/gcc-4_6_2-mobile branch 1) Get mostly new patches from FSF gcc-4.6 branch 2) Fix PR52129 3) Insert GNU-stack note for all ARM targets Change-Id: I2b9926981210e517e4021242908074319a91d6bd --- gcc-4.6/configure | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'gcc-4.6/configure') diff --git a/gcc-4.6/configure b/gcc-4.6/configure index ffb394516..434a1d5b8 100755 --- a/gcc-4.6/configure +++ b/gcc-4.6/configure @@ -5120,7 +5120,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; } -if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then +if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then have_gnat=yes else have_gnat=no @@ -6199,6 +6199,8 @@ esac if test $target_elf = yes; then : # ELF platforms build the lto-plugin always. build_lto_plugin=yes + # Allow ELF platforms to build the function_reordering_plugin always. + build_function_reordering_plugin=yes else if test x"$default_enable_lto" = x"yes" ; then @@ -6330,6 +6332,11 @@ if test -d ${srcdir}/gcc; then extra_host_libiberty_configure_flags=--enable-shared fi fi + if test "${build_function_reordering_plugin}" = "yes" ; then + configdirs="$configdirs function_reordering_plugin" + extra_host_libiberty_configure_flags=--enable-shared + fi + missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ ` @@ -6947,10 +6954,6 @@ case "${target}" in extra_arflags_for_target=" -X32_64" extra_nmflags_for_target=" -B -X32_64" ;; - *-*-darwin[3-9]*) - # ranlib before Darwin10 requires the -c flag to look at common symbols. - extra_ranlibflags_for_target=" -c" - ;; mips*-*-pe | sh*-*-pe | *arm-wince-pe) target_makefile_frag="config/mt-wince" ;; -- cgit v1.2.3