diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2023-06-10 19:08:04 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-06-16 19:47:39 +0200 |
commit | 7390068e4f89e09d8fc281fddeb2504f5412382e (patch) | |
tree | b86d988b12d1b9e57838fcea46768a192441b996 /toolchain/gcc/patches-13.x/910-mbsd_multi.patch | |
parent | dee8ca626c7108540795506eb1675aff586d9066 (diff) | |
download | upstream-7390068e4f89e09d8fc281fddeb2504f5412382e.tar.gz upstream-7390068e4f89e09d8fc281fddeb2504f5412382e.tar.bz2 upstream-7390068e4f89e09d8fc281fddeb2504f5412382e.zip |
toolchain: gcc: backport inline subword atomic support for riscv
RISC-V has no support for subword atomic operations; code currently
generates libatomic library calls.
This patch changes the default behavior to fast inline subword atomic
calls that do not require libatomic.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 7b4a966de88aa0e1f9b7faa62a4d6cb7b01e9f8f)
Diffstat (limited to 'toolchain/gcc/patches-13.x/910-mbsd_multi.patch')
-rw-r--r-- | toolchain/gcc/patches-13.x/910-mbsd_multi.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/patches-13.x/910-mbsd_multi.patch b/toolchain/gcc/patches-13.x/910-mbsd_multi.patch index 095fc62f69..8af05c9994 100644 --- a/toolchain/gcc/patches-13.x/910-mbsd_multi.patch +++ b/toolchain/gcc/patches-13.x/910-mbsd_multi.patch @@ -114,7 +114,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000 ; On SVR4 targets, it also controls whether or not to emit a --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi -@@ -10061,6 +10061,17 @@ This option is only supported for C and +@@ -10062,6 +10062,17 @@ This option is only supported for C and @option{-Wall} and by @option{-Wpedantic}, which can be disabled with @option{-Wno-pointer-sign}. |