mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-10 07:14:15 +03:00
e783efa6ef
armv7/thumb2 provides a way to do atomics in thumb mode, but for armv6 we need a call to arm mode. this commit is based on a patch by Stephen Thomas which fixed the armv7 cases but not the armv6 ones. all of this should be revisited if/when runtime selection of thread pointer access and atomics are added.