diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 01:53:45 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 01:53:45 +0100 |
commit | e708e2af80f403ba868d5cd095bd87913fc88c56 (patch) | |
tree | 8185944a8e3c145c0961c95f2cae8c4f23145ab5 /pthread/pt-alloc.c | |
parent | ddf59c36d90606ab0bfcdea99e1b01e98274eeb0 (diff) |
Remove ENABLE_TLS define
* Makefile (CPPFLAGS): Remove -DENABLE_TLS.
* pthread/pt-alloc.c: Remove ENABLE_TLS condition.
* pthread/pt-create.c: Likewise.
* pthread/pt-internal.h: Likewise.
Diffstat (limited to 'pthread/pt-alloc.c')
-rw-r--r-- | pthread/pt-alloc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pthread/pt-alloc.c b/pthread/pt-alloc.c index f4634de..22a3000 100644 --- a/pthread/pt-alloc.c +++ b/pthread/pt-alloc.c @@ -69,9 +69,7 @@ initialize_pthread (struct __pthread *new) memset (&new->res_state, '\0', sizeof (new->res_state)); -#ifdef ENABLE_TLS new->tcb = NULL; -#endif new->next = 0; new->prevp = 0; @@ -111,13 +109,11 @@ __pthread_alloc (struct __pthread **pthread) if (new) { -#ifdef ENABLE_TLS if (new->tcb) { /* Drop old values */ _dl_deallocate_tls (new->tcb, 1); } -#endif /* ENABLE_TLS */ err = initialize_pthread (new); if (! err) |