diff options
| author | Florian Weimer <fweimer@redhat.com> | 2024-08-01 23:31:23 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2024-08-05 18:26:42 +0200 |
| commit | fe06fb313bddf7e4530056897d4a706606e49377 (patch) | |
| tree | 5137b4fddbaef3af328dc45b72e517b666feffbd /nptl | |
| parent | 39ca997ab378990d5ac1aadbaa52aaf1db6d526f (diff) | |
| download | glibc-fe06fb313bddf7e4530056897d4a706606e49377.tar.xz glibc-fe06fb313bddf7e4530056897d4a706606e49377.zip | |
elf: Clarify and invert second argument of _dl_allocate_tls_init
Also remove an outdated comment: _dl_allocate_tls_init is
called as part of pthread_create.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl')
| -rw-r--r-- | nptl/allocatestack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index f35a8369bd..2cb562f8ea 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -139,7 +139,7 @@ get_cached_stack (size_t *sizep, void **memp) memset (dtv, '\0', (dtv[-1].counter + 1) * sizeof (dtv_t)); /* Re-initialize the TLS. */ - _dl_allocate_tls_init (TLS_TPADJ (result), true); + _dl_allocate_tls_init (TLS_TPADJ (result), false); return result; } |
