aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/hppa/libc-tls.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-14 22:07:40 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-18 02:36:31 -0400
commit43329fe1396080faf025118b31053fd19e029c12 (patch)
treecb4d58ab2b6ec6cb42202a4f4ee0101eebd3493f /sysdeps/hppa/libc-tls.c
parent3fb4cfaf1f1e8d58312720c70d224e2050d469fc (diff)
downloadglibc-43329fe1396080faf025118b31053fd19e029c12.zip
glibc-43329fe1396080faf025118b31053fd19e029c12.tar.gz
glibc-43329fe1396080faf025118b31053fd19e029c12.tar.bz2
hppa: assume TLS everywhere
This brings hppa inline with all the other arches and main code where we require TLS support everywhere. That means dropping the defines USE_TLS and USE___THREAD, and dropping the binutils check (since we already have a version requirement that is new enough).
Diffstat (limited to 'sysdeps/hppa/libc-tls.c')
-rw-r--r--sysdeps/hppa/libc-tls.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/hppa/libc-tls.c b/sysdeps/hppa/libc-tls.c
index e7ec590..647992a 100644
--- a/sysdeps/hppa/libc-tls.c
+++ b/sysdeps/hppa/libc-tls.c
@@ -19,8 +19,6 @@
#include <csu/libc-tls.c>
#include <dl-tls.h>
-#if USE_TLS
-
/* On hppa, linker optimizations are not required, so __tls_get_addr
can be called even in statically linked binaries. In this case module
must be always 1 and PT_TLS segment exist in the binary, otherwise it
@@ -32,5 +30,3 @@ __tls_get_addr (tls_index *ti)
dtv_t *dtv = THREAD_DTV ();
return (char *) dtv[1].pointer.val + ti->ti_offset;
}
-
-#endif