aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-15 23:36:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-15 23:36:22 +0000
commit2b714df5d8977132b6bd8a2b338b1a523bb00d9f (patch)
tree69064bac92c45416abcb00447bac1ce8070b8df9
parent3d0dbdc46710c262bf4fc4786b32d61bd777b33b (diff)
downloadglibc-2b714df5d8977132b6bd8a2b338b1a523bb00d9f.tar
glibc-2b714df5d8977132b6bd8a2b338b1a523bb00d9f.tar.gz
glibc-2b714df5d8977132b6bd8a2b338b1a523bb00d9f.tar.bz2
glibc-2b714df5d8977132b6bd8a2b338b1a523bb00d9f.zip
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.
-rw-r--r--ChangeLog4
-rw-r--r--config.make.in1
-rwxr-xr-xconfigure28
-rw-r--r--configure.ac16
4 files changed, 4 insertions, 45 deletions
diff --git a/ChangeLog b/ChangeLog
index 40e9897a75..652fa5a9e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2015-10-15 Joseph Myers <joseph@codesourcery.com>
+ * 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 b376a7eaa5..44a874df26 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 09e8ade8ce..d4cb9cd17f 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 <<EOF
-int _start (void) { return 42; }
-EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -Wl,-Bgroup -nostdlib 1>&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&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 7d94d9f35a..402de30b87 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 <<EOF
-int _start (void) { return 42; }
-EOF
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -Wl,-Bgroup -nostdlib 1>&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