diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-27 23:56:50 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-27 23:56:50 +0000 |
commit | 56583289b18a9680e06f6b8b26d05b51e4c39a42 (patch) | |
tree | 8020d48fd71d5fec291ba0683ae329ca38a425b4 /sysdeps/arm/configure.ac | |
parent | 8f82f28bbaa6ca503e6296b2d26ecf213bceff88 (diff) | |
download | glibc-56583289b18a9680e06f6b8b26d05b51e4c39a42.tar.gz |
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.
Diffstat (limited to 'sysdeps/arm/configure.ac')
-rw-r--r-- | sysdeps/arm/configure.ac | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac index a9b114e3b9..90cdd69c75 100644 --- a/sysdeps/arm/configure.ac +++ b/sysdeps/arm/configure.ac @@ -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 |