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 /elf/rtld.c | |
parent | 39ca997ab378990d5ac1aadbaa52aaf1db6d526f (diff) | |
download | glibc-fe06fb313bddf7e4530056897d4a706606e49377.zip glibc-fe06fb313bddf7e4530056897d4a706606e49377.tar.gz glibc-fe06fb313bddf7e4530056897d4a706606e49377.tar.bz2 |
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 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2338,7 +2338,7 @@ dl_main (const ElfW(Phdr) *phdr, into the main thread's TLS area, which we allocated above. Note: thread-local variables must only be accessed after completing the next step. */ - _dl_allocate_tls_init (tcbp, false); + _dl_allocate_tls_init (tcbp, true); /* And finally install it for the main thread. */ if (! __rtld_tls_init_tp_called) |