From 56583289b18a9680e06f6b8b26d05b51e4c39a42 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 27 Oct 2015 23:56:50 +0000 Subject: Remove configure test for ARM TLS descriptors support. GCC 4.7 added support for ARM TLS descriptors. The binutils support is present in binutils 2.22. Thus, this patch removes the associated configure test as obsolete (leaving Makefile conditionals, as NaCl sets have-arm-tls-desc = no in its sysdeps fragment). Tested for ARM that installed shared libraries are unchanged by the patch. * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove configure test. * sysdeps/arm/configure: Regenerated. * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc): Define variable if not already defined. --- sysdeps/arm/configure | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'sysdeps/arm/configure') diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure index 87ec430da1..431e843b2b 100644 --- a/sysdeps/arm/configure +++ b/sysdeps/arm/configure @@ -176,42 +176,6 @@ else default-abi = soft" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the build tools support the GNU descriptor TLS scheme" >&5 -$as_echo_n "checking whether the build tools support the GNU descriptor TLS scheme... " >&6; } -if ${libc_cv_arm_tls_desc+:} false; then : - $as_echo_n "(cached) " >&6 -else - old_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -mtls-dialect=gnu2" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -asm (".word\tfoo(tlsdesc)"); -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - libc_cv_arm_tls_desc=yes -else - libc_cv_arm_tls_desc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS="$old_CFLAGS" -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_arm_tls_desc" >&5 -$as_echo "$libc_cv_arm_tls_desc" >&6; } -if test $libc_cv_arm_tls_desc = yes; then - config_vars="$config_vars -have-arm-tls-desc = yes" -else - config_vars="$config_vars -have-arm-tls-desc = no" -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PC-relative relocs in movw/movt work properly" >&5 $as_echo_n "checking whether PC-relative relocs in movw/movt work properly... " >&6; } if ${libc_cv_arm_pcrel_movw+:} false; then : -- cgit 1.4.1