1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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.
This commit is contained in:
Joseph Myers
2015-10-27 23:56:50 +00:00
parent 8f82f28bba
commit 56583289b1
4 changed files with 11 additions and 49 deletions

View File

@@ -26,19 +26,6 @@ else
LIBC_CONFIG_VAR([default-abi], [soft])
fi
AC_CACHE_CHECK([whether the build tools support the GNU descriptor TLS scheme],
[libc_cv_arm_tls_desc],
[old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -mtls-dialect=gnu2"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([asm (".word\tfoo(tlsdesc)");], [])],
[libc_cv_arm_tls_desc=yes], [libc_cv_arm_tls_desc=no])
CFLAGS="$old_CFLAGS"])
if test $libc_cv_arm_tls_desc = yes; then
LIBC_CONFIG_VAR([have-arm-tls-desc], [yes])
else
LIBC_CONFIG_VAR([have-arm-tls-desc], [no])
fi
AC_CACHE_CHECK([whether PC-relative relocs in movw/movt work properly],
libc_cv_arm_pcrel_movw, [
cat > conftest.s <<\EOF