[PATCH] Use TLS initial-exec model for __libc_tsd_* thread variables
Florian Weimer
fweimer@redhat.com
Mon Aug 4 15:08:38 GMT 2025
* Jens Remus:
>>> Eventually, we should use local-exec TLS for libc.a, addressing (1).
>>> I hope it won't bring back the S390 bug.
>
> Given the GNU linker fix in Binutils 2.41 this should not be an issue.
Our minimum required version currently is 2.39.
We need to backport the <ctype.h> fix to older branches, so bumping the
binutils requirement is not really an option.
The commit message should reference __libc_tsd_CTYPE_*. There's another
historic leftover, __libc_tsd_LOCALE, which is not updated by this
patch.
With that change:
Reviewed-by: Florian Weimer <fweimer@redhat.com>
(And please drop the Signed-off-by:, too, per Stefan's latest comments.)
Thanks,
Florian
More information about the Libc-alpha
mailing list