diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-11-03 13:03:52 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-11-03 13:03:52 +0000 |
commit | cf09d0b052cbbfbcabc3c3d78d485876b9b81f9c (patch) | |
tree | 60cb1e41f7c5b11e9c3a7d1a525e6eb96b961f9b /configure | |
parent | d86812df5ae27d1695829966916ba26ea7df3d2f (diff) | |
download | glibc-cf09d0b052cbbfbcabc3c3d78d485876b9b81f9c.tar.gz glibc-cf09d0b052cbbfbcabc3c3d78d485876b9b81f9c.tar.xz glibc-cf09d0b052cbbfbcabc3c3d78d485876b9b81f9c.zip |
Remove --no-whole-archive configure test.
There is a configure test for the --no-whole-archive linker option. This option was added in binutils 2.7, so the test is obsolete; this patch removes it. Tested for x86_64 and x86 (testsuite, and that installed shared libraries are unchanged by the patch). * configure.ac (libc_cv_ld_no_whole_archive): Remove configure test. * configure: Regenerated.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/configure b/configure index 9fe4288544..71800c6b57 100755 --- a/configure +++ b/configure @@ -5914,36 +5914,6 @@ if test $libc_cv_have_section_quotes = yes; then fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --no-whole-archive" >&5 -$as_echo_n "checking for ld --no-whole-archive... " >&6; } -if ${libc_cv_ld_no_whole_archive+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat > conftest.c <<\EOF -_start () {} -int __eh_pc; -__throw () {} -EOF -if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS - -nostdlib -nostartfiles -Wl,--no-whole-archive - -o conftest conftest.c 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_ld_no_whole_archive=yes -else - libc_cv_ld_no_whole_archive=no -fi -rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_no_whole_archive" >&5 -$as_echo "$libc_cv_ld_no_whole_archive" >&6; } -if test $libc_cv_ld_no_whole_archive = no; then - as_fn_error $? "support for --no-whole-archive is needed" "$LINENO" 5 -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5 $as_echo_n "checking for __builtin_memset... " >&6; } if ${libc_cv_gcc_builtin_memset+:} false; then : |