]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mips: Don't set __NO_TLS to disable some uses of TLS.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 18 Feb 2021 00:34:23 +0000 (16:34 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 18 Feb 2021 00:34:23 +0000 (16:34 -0800)
commit24fd63e0970f91189dd2acde987bd2e4c8c04a50
treef59286ec2192627d1c0751ab3dbbcb171322c7ba
parentdd176fd7e7b5aad231cd6ebf49fd14ae7394dfee
mips: Don't set __NO_TLS to disable some uses of TLS.

__NO_TLS was originally added to disable use of _Thread in the locale
code in libc in 82dd5016bd749d1d9e1531bd1703aebeecceab34.  At the time
libc did not support TLS on MIPS (I believe), but TLS support was
added to libc (at least _set_tp.c) for MIPS about a month after
__NO_TLS was added, but __NO_TLS was still left around.

Reviewed by: imp
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D28713
sys/sys/cdefs.h