aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-07 17:29:14 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-07 17:29:14 +0000
commitd4468ab7887325daf8bcdc8d7591238f3adcc70b (patch)
treea8b96e27e1f7f214e79773dad57f577bf94ba6eb /sysdeps
parent22c7c5e74870d4f70f85d198cb1fedc2c29224cd (diff)
downloadglibc-d4468ab7887325daf8bcdc8d7591238f3adcc70b.zip
glibc-d4468ab7887325daf8bcdc8d7591238f3adcc70b.tar.gz
glibc-d4468ab7887325daf8bcdc8d7591238f3adcc70b.tar.bz2
Don't read TLS header if TLS is not needed.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-tls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c
index 1b16bd5..d5163c6 100644
--- a/sysdeps/generic/dl-tls.c
+++ b/sysdeps/generic/dl-tls.c
@@ -19,14 +19,14 @@
#include <assert.h>
-#include <tls.h>
-#include <dl-tls.h>
-#include <ldsodefs.h>
-
/* We don't need any of this if TLS is not supported. */
#ifdef USE_TLS
+#include <tls.h>
+#include <dl-tls.h>
+#include <ldsodefs.h>
+
/* Value used for dtv entries for which the allocation is delayed. */
# define TLS_DTV_UNALLOCATE ((void *) -1l)