git: 91a611e52160 - releng/13.0 - mips: Don't set __NO_TLS to disable some uses of TLS.

Konstantin Belousov kib at FreeBSD.org
Tue Mar 2 15:19:14 UTC 2021


The branch releng/13.0 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=91a611e5216027ca9e82770882b5f7e8d98a2f15

commit 91a611e5216027ca9e82770882b5f7e8d98a2f15
Author:     John Baldwin <jhb at FreeBSD.org>
AuthorDate: 2021-02-18 00:34:23 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-03-02 15:18:56 +0000

    mips: Don't set __NO_TLS to disable some uses of TLS.
    
    Approved by:    re (gjb)
    
    (cherry picked from commit 24fd63e0970f91189dd2acde987bd2e4c8c04a50)
---
 sys/sys/cdefs.h | 3 +--
 1 file changed, 1 insertion(+), 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
 


More information about the dev-commits-src-all mailing list