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 82dd5016bd.  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
This commit is contained in:
John Baldwin 2021-02-17 16:34:23 -08:00
parent dd176fd7e7
commit 24fd63e097

View file

@ -768,8 +768,7 @@
#endif
#endif /* __STDC_WANT_LIB_EXT1__ */
#if defined(__mips) || \
(defined(__powerpc64__) && (!defined(_CALL_ELF) || _CALL_ELF == 1))
#if defined(__powerpc64__) && (!defined(_CALL_ELF) || _CALL_ELF == 1)
#define __NO_TLS 1
#endif