diff options
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r-- | elf/dl-open.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c index dc4a9736ee..8cc3ad0964 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -490,8 +490,10 @@ dl_open_worker (void *a) /* We have to bump the generation counter. */ any_tls = true; } +#endif } +#if USE_TLS /* Bump the generation number if necessary. */ if (any_tls) if (__builtin_expect (++GL(dl_tls_generation) == 0, 0)) |