From: Ulrich Drepper Date: Thu, 7 Feb 2002 17:29:14 +0000 (+0000) Subject: Don't read TLS header if TLS is not needed. X-Git-Tag: cvs/glibc-2-3~1112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4468ab7887325daf8bcdc8d7591238f3adcc70b;p=thirdparty%2Fglibc.git Don't read TLS header if TLS is not needed. --- diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c index 1b16bd58f49..d5163c6325a 100644 --- a/sysdeps/generic/dl-tls.c +++ b/sysdeps/generic/dl-tls.c @@ -19,14 +19,14 @@ #include -#include -#include -#include - /* We don't need any of this if TLS is not supported. */ #ifdef USE_TLS +#include +#include +#include + /* Value used for dtv entries for which the allocation is delayed. */ # define TLS_DTV_UNALLOCATE ((void *) -1l)