diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-07 17:29:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-07 17:29:14 +0000 |
commit | d4468ab7887325daf8bcdc8d7591238f3adcc70b (patch) | |
tree | a8b96e27e1f7f214e79773dad57f577bf94ba6eb /sysdeps/generic | |
parent | 22c7c5e74870d4f70f85d198cb1fedc2c29224cd (diff) | |
download | glibc-d4468ab7887325daf8bcdc8d7591238f3adcc70b.tar.gz glibc-d4468ab7887325daf8bcdc8d7591238f3adcc70b.tar.xz glibc-d4468ab7887325daf8bcdc8d7591238f3adcc70b.zip |
Don't read TLS header if TLS is not needed.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/dl-tls.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c index 1b16bd58f4..d5163c6325 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) |