diff options
author | John Baldwin <jhb@FreeBSD.org> | 2021-02-18 00:34:23 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-03-02 00:49:42 +0000 |
commit | 49fe71bb1e8f3e916fe856da80486461e3e2c29d (patch) | |
tree | 997150c504061f56c9175bb94d2bced5eb139deb | |
parent | d742dfbddd87769ba417f751a2c8a3d1ff4f11eb (diff) | |
download | src-49fe71bb1e8f3e916fe856da80486461e3e2c29d.tar.gz src-49fe71bb1e8f3e916fe856da80486461e3e2c29d.zip |
mips: Don't set __NO_TLS to disable some uses of TLS.
(cherry picked from commit 24fd63e0970f91189dd2acde987bd2e4c8c04a50)
-rw-r--r-- | sys/sys/cdefs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 4de1ef011756..1e670fd87d6f 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -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 |