nuttx/libs/libc/machine
zhangyu117 2f31c63d76 nuttx/atomic: use toolchain builtin atomic function
The reason for using builtin atomic is that in C++, when include <atomic> in <nuttx/atomic.h> easily conflicts with third-party function libraries. We wanted to completely separate the implementation of <nuttx/atomic.h>.

There are two points:
1. use builtin function directly.
2. Without the standard library implementation, need implement "atomic_fetch_xxx", leading conflicts with the standard library used by third-party programs, introducing redefinition issues and requiring name changes.

Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com>
2026-04-21 01:35:39 +08:00
..
arm libs/libc/arm: add back __aeabi_mem* functions 2026-04-21 01:34:11 +08:00
arm64 libc/arm64: fix build error with clang 2026-04-21 01:34:35 +08:00
renesas libc/machine/renesas: Move all source files out of gnu folder 2026-04-21 01:24:36 +08:00
risc-v libc/machine/riscv: Move all source files out of gnu folder 2026-04-21 01:24:36 +08:00
sim sim: setjmp: fix longjmp with 0 as the second argument 2026-04-21 01:30:38 +08:00
sparc Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
tricore nuttx/atomic: use toolchain builtin atomic function 2026-04-21 01:35:39 +08:00
x86 Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
x86_64 libc/machine/x86_64: Remove libs/libc/machine/x86_64/gnu/CMakeLists.txt 2026-04-21 01:25:03 +08:00
xtensa libc/machine/xtensa: Rename mcount.S to arch_mcount.S 2026-04-21 01:24:53 +08:00
CMakeLists.txt libc/machine: realize atomic based on hwspinlock 2026-04-21 01:35:01 +08:00
Kconfig libc/machine: realize atomic based on hwspinlock 2026-04-21 01:35:01 +08:00
Make.defs libc/machine: realize atomic based on hwspinlock 2026-04-21 01:35:01 +08:00
arch_atomic.c nuttx/atomic: use toolchain builtin atomic function 2026-04-21 01:35:39 +08:00
arch_libc.c libc/arch_libc.c:fix bug for macro LIBC_ARCH_STRCHRNUL 2026-04-21 01:23:02 +08:00