about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/elf/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc32/elf/configure')
-rw-r--r--sysdeps/sparc/sparc32/elf/configure30
1 files changed, 0 insertions, 30 deletions
diff --git a/sysdeps/sparc/sparc32/elf/configure b/sysdeps/sparc/sparc32/elf/configure
index e684b2d539..c6372c4172 100644
--- a/sysdeps/sparc/sparc32/elf/configure
+++ b/sysdeps/sparc/sparc32/elf/configure
@@ -132,33 +132,3 @@ $as_echo "$libc_cv_sparc32_tls" >&6; }
 if test $libc_cv_sparc32_tls = no; then
   as_fn_error $? "the assembler must support TLS" "$LINENO" 5
 fi
-
-# Check for broken WDISP22 in the linker.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sparc32 ld WDISP22 handling" >&5
-$as_echo_n "checking for sparc32 ld WDISP22 handling... " >&6; }
-if ${libc_cv_sparc32_wdisp22+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  echo 'bne foo; nop' > conftest1.s
-echo '.globl foo; .hidden foo; foo: nop' > conftest2.s
-libc_cv_sparc32_wdisp22=unknown
-if { ac_try='${CC-cc} -nostdlib -shared $CFLAGS conftest1.s conftest2.s -o conftest.so 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
-  if readelf -r conftest.so | grep -q R_SPARC_WDISP22; then
-    libc_cv_sparc32_wdisp22=broken
-  else
-    libc_cv_sparc32_wdisp22=ok
-  fi
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sparc32_wdisp22" >&5
-$as_echo "$libc_cv_sparc32_wdisp22" >&6; }
-if test $libc_cv_sparc32_wdisp22 != ok; then
-  $as_echo "#define BROKEN_SPARC_WDISP22 1" >>confdefs.h
-
-fi