Don't read TLS header if TLS is not needed.

This commit is contained in:
Ulrich Drepper 2002-02-07 17:29:14 +00:00
parent 22c7c5e748
commit d4468ab788

View File

@ -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)