arm: add non-assembly versions of pthread_spin_lock/pthread_spin_trylock
commit3ac3d4e61a1de0c2d0e0d2bebf0d1b111f153f12
authorWaldemar Brodkorb <wbx@openadk.org>
Tue, 31 May 2016 18:51:29 +0000 (31 20:51 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Tue, 31 May 2016 18:51:29 +0000 (31 20:51 +0200)
tree1f4937d22617218f5ebd2a0e26441fcd3a44db49
parent95174cb69c523a1544e5f6f20e47f7d60007e569
arm: add non-assembly versions of pthread_spin_lock/pthread_spin_trylock

Sync pthread_spin_lock/pthread_spin_trylock with GNU libc as it avoids
any usage of deprecated SWP instruction. This allows to build uClibc-ng
for ARMv8 Cortex-A53 CPU in 32 Bit mode.
libpthread/nptl/sysdeps/arm/pthread_spin_lock.c [new file with mode: 0644]
libpthread/nptl/sysdeps/arm/pthread_spin_trylock.S [deleted file]
libpthread/nptl/sysdeps/arm/pthread_spin_trylock.c [moved from libpthread/nptl/sysdeps/arm/pthread_spin_lock.S with 71% similarity]