Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2021 00:49:50 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d742dfbddd87 - stable/13 - riscv: Don't set __NO_TLS to disable some uses of TLS.
Message-ID:  <202103020049.1220noIa087441@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

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

commit d742dfbddd87769ba417f751a2c8a3d1ff4f11eb
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-02-18 00:33:09 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-03-02 00:49:42 +0000

    riscv: Don't set __NO_TLS to disable some uses of TLS.
    
    (cherry picked from commit dd176fd7e7b5aad231cd6ebf49fd14ae7394dfee)
---
 sys/sys/cdefs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 75bedd4b8128..4de1ef011756 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -768,7 +768,7 @@
 #endif
 #endif /* __STDC_WANT_LIB_EXT1__ */
 
-#if defined(__mips) || defined(__riscv) || \
+#if defined(__mips) || \
     (defined(__powerpc64__) && (!defined(_CALL_ELF) || _CALL_ELF == 1))
 #define	__NO_TLS 1
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103020049.1220noIa087441>