Commit Graph

2 Commits

Author SHA1 Message Date
Alexey Lapshin
2e8fb77241 fix(newlib): fix intended warning in case -Wshadow is enabled 2026-04-01 20:10:58 +08:00
Alexey Lapshin
bbd6c786b3 fix(newlib): fix __atomic_test_and_set to ensure atomicity
Before the change described in
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631393.html it
appeared that inlining built-in GCC function __atomic_test_and_set() was
incorrect. It resulted in a non-atomic write.
For GCC toolchains which do not have such patch yet, this commit fixes
__atomic_test_and_set to be atomic in IDF's builds.
2025-07-31 17:55:42 +07:00