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: upstream/2.30~22077 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4468ab7887325daf8bcdc8d7591238f3adcc70b;p=external%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 1b16bd5..d5163c6 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)