]> git.ipfire.org Git - thirdparty/glibc.git/commit
ctype: Fallback initialization of TLS using relocations (bug 19341, bug 32483)
authorFlorian Weimer <fweimer@redhat.com>
Fri, 16 May 2025 17:53:09 +0000 (19:53 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 16 May 2025 17:53:09 +0000 (19:53 +0200)
commit2745db8dd3ec31045acd761b612516490085bc20
treef80629f2e1f87d1e9489f59f9563c39a84d128af
parente0c0f856f58ceb68800a964c36c15c606e7a8c4c
ctype: Fallback initialization of TLS using relocations (bug 19341, bug 32483)

This ensures that the ctype data pointers in TLS are valid
in secondary namespaces even without initialization via
__ctype_init.

Reviewed-by: Frédéric Bérat <fberat@redhat.com>
ctype/Makefile
ctype/ctype-info.c
ctype/tst-ctype-tls-dlmopen.c [new file with mode: 0644]
ctype/tst-ctype-tls-dlopen-static.c [new file with mode: 0644]
ctype/tst-ctype-tls-mod.c [new file with mode: 0644]
ctype/tst-ctype-tls-skeleton.c [new file with mode: 0644]