From 2b714df5d8977132b6bd8a2b338b1a523bb00d9f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 15 Oct 2015 23:36:22 +0000 Subject: [PATCH] Remove -Bgroup configure test. There is a configure test for the -Bgroup linker option whose results aren't used anywhere. This patch removes that test. Tested for x86_64 (testsuite, and that installed shared libraries are unchanged by the patch). * configure.ac (libc_cv_Bgroup): Remove configure test. * configure: Regenerated. * config.make.in (have-Bgroup): Remove variable. --- ChangeLog | 4 ++++ config.make.in | 1 - configure | 28 ---------------------------- configure.ac | 16 ---------------- 4 files changed, 4 insertions(+), 45 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40e9897..652fa5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2015-10-15 Joseph Myers + * configure.ac (libc_cv_Bgroup): Remove configure test. + * configure: Regenerated. + * config.make.in (have-Bgroup): Remove variable. + * configure.ac (sizeof_long_double): Remove configure test. * configure: Regenerated. * config.make.in (sizeof-long-double): Remove variable. diff --git a/config.make.in b/config.make.in index b376a7e..44a874d 100644 --- a/config.make.in +++ b/config.make.in @@ -49,7 +49,6 @@ enable-werror = @enable_werror@ have-z-combreloc = @libc_cv_z_combreloc@ have-z-execstack = @libc_cv_z_execstack@ -have-Bgroup = @libc_cv_Bgroup@ have-protected-data = @libc_cv_protected_data@ with-fp = @with_fp@ enable-timezone-tools = @enable_timezone_tools@ diff --git a/configure b/configure index 09e8ade..d4cb9cd 100755 --- a/configure +++ b/configure @@ -630,7 +630,6 @@ libc_cv_fpie libc_cv_z_execstack libc_cv_z_combreloc ASFLAGS_config -libc_cv_Bgroup libc_cv_cc_with_libunwind libc_cv_protected_data BISON @@ -5763,33 +5762,6 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5 $as_echo "$libc_linker_feature" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5 -$as_echo_n "checking for -Bgroup option... " >&6; } -if ${libc_cv_Bgroup+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat > conftest.c <&5 - (eval $ac_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; } -then - libc_cv_Bgroup=yes -else - libc_cv_Bgroup=no -fi -rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_Bgroup" >&5 -$as_echo "$libc_cv_Bgroup" >&6; } - - ASFLAGS_config= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; } diff --git a/configure.ac b/configure.ac index 7d94d9f..402de30 100644 --- a/configure.ac +++ b/configure.ac @@ -1336,22 +1336,6 @@ LIBC_LINKER_FEATURE([-z initfirst], [-Wl,--enable-new-dtags,-z,initfirst], [libc_cv_z_initfirst=yes], [AC_MSG_ERROR(linker with -z initfirst support required)]) -AC_CACHE_CHECK(for -Bgroup option, - libc_cv_Bgroup, [dnl -cat > conftest.c <&AS_MESSAGE_LOG_FD]) -then - libc_cv_Bgroup=yes -else - libc_cv_Bgroup=no -fi -rm -f conftest*]) -AC_SUBST(libc_cv_Bgroup) - ASFLAGS_config= AC_CACHE_CHECK(whether --noexecstack is desirable for .S files, libc_cv_as_noexecstack, [dnl -- 2.7.4