Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't read TLS header if TLS is not needed.
  • Loading branch information
Ulrich Drepper committed Feb 7, 2002
1 parent 22c7c5e commit d4468ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sysdeps/generic/dl-tls.c
Expand Up @@ -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)

Expand Down

0 comments on commit d4468ab

Please sign in to comment.