aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-02-18 00:34:23 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-03-02 00:49:42 +0000
commit49fe71bb1e8f3e916fe856da80486461e3e2c29d (patch)
tree997150c504061f56c9175bb94d2bced5eb139deb
parentd742dfbddd87769ba417f751a2c8a3d1ff4f11eb (diff)
downloadsrc-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.h3
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