aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches-12.x/701-riscv-linux-Don-t-add-latomic-with-pthread.patch
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: gcc: backport inline subword atomic support for riscvTianling Shen2023-06-161-0/+36
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)