aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-08-01 23:31:23 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-08-05 18:26:42 +0200
commitfe06fb313bddf7e4530056897d4a706606e49377 (patch)
tree5137b4fddbaef3af328dc45b72e517b666feffbd /sysdeps
parent39ca997ab378990d5ac1aadbaa52aaf1db6d526f (diff)
downloadglibc-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 'sysdeps')
-rw-r--r--sysdeps/generic/ldsodefs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 656e8a3..154efb0 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -1200,10 +1200,8 @@ extern void _dl_get_tls_static_info (size_t *sizep, size_t *alignp);
extern void _dl_allocate_static_tls (struct link_map *map) attribute_hidden;
-/* These are internal entry points to the two halves of _dl_allocate_tls,
- only used within rtld.c itself at startup time. */
extern void *_dl_allocate_tls_storage (void) attribute_hidden;
-extern void *_dl_allocate_tls_init (void *, bool);
+extern void *_dl_allocate_tls_init (void *result, bool main_thread);
rtld_hidden_proto (_dl_allocate_tls_init)
/* True if the TCB has been set up. */