mirror of git://sourceware.org/git/glibc.git
Don't read TLS header if TLS is not needed.
This commit is contained in:
parent
22c7c5e748
commit
d4468ab788
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue