aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-27 23:56:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-27 23:56:50 +0000
commit56583289b18a9680e06f6b8b26d05b51e4c39a42 (patch)
tree8020d48fd71d5fec291ba0683ae329ca38a425b4 /sysdeps/arm/Makefile
parent8f82f28bbaa6ca503e6296b2d26ecf213bceff88 (diff)
downloadglibc-56583289b18a9680e06f6b8b26d05b51e4c39a42.tar
glibc-56583289b18a9680e06f6b8b26d05b51e4c39a42.tar.gz
glibc-56583289b18a9680e06f6b8b26d05b51e4c39a42.tar.bz2
glibc-56583289b18a9680e06f6b8b26d05b51e4c39a42.zip
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/Makefile')
-rw-r--r--sysdeps/arm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/arm/Makefile b/sysdeps/arm/Makefile
index 17c129b2e1..2849aeda42 100644
--- a/sysdeps/arm/Makefile
+++ b/sysdeps/arm/Makefile
@@ -1,6 +1,11 @@
gnulib-arch = $(elf-objpfx)libgcc-stubs.a
static-gnulib-arch = $(elf-objpfx)libgcc-stubs.a
+# All supported build tools support TLS descriptors, but the OS may not.
+ifndef have-arm-tls-desc
+have-arm-tls-desc = yes
+endif
+
ifeq ($(subdir),elf)
sysdep-dl-routines += tlsdesc dl-tlsdesc
sysdep_routines += aeabi_unwind_cpp_pr1 find_exidx