]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add generic 'extra TLS'
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 10 Jul 2024 19:48:11 +0000 (15:48 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 10 Jan 2025 20:19:28 +0000 (20:19 +0000)
commit0e411c5d3098982d67cd2d7a233eaa6c977a1869
treee69eef11d9d92dc76c6115eef5512c3aae6878aa
parentc813c1490d5d8640a94fced10fc7674a48737b96
Add generic 'extra TLS'

Add the logic to append an 'extra TLS' block in the TLS block allocator
with a generic stub implementation. The duplicated code in
'csu/libc-tls.c' and 'elf/dl-tls.c' is to handle both statically linked
applications and the ELF dynamic loader.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
csu/libc-tls.c
elf/dl-tls.c
sysdeps/generic/dl-extra_tls.h [new file with mode: 0644]