musl/arch/arm
Rich Felker 35a6801c6c fix arm atomic store and generate simpler/less-bloated/faster code
atomic store was lacking a barrier, which was fine for legacy arm with
no real smp and kernel-emulated cas, but unsuitable for more modern
systems. the kernel provides another "kuser" function, at 0xffff0fa0,
which could be used for the barrier, but using that would drop support
for kernels 2.6.12 through 2.6.14 unless an extra conditional were
added to check for barrier availability. just using the barrier in the
kernel cas is easier, and, based on my reading of the assembly code in
the kernel, does not appear to be significantly slower.

at the same time, other atomic operations are adapted to call the
kernel cas function directly rather than using a_cas; due to small
differences in their interface contracts, this makes the generated
code much simpler.
2013-09-22 03:06:17 -04:00
..
bits fix detection of arm hardfloat 2013-08-16 17:09:07 -04:00
src add some ARM EABI-specific exception handling infrastructure 2013-07-10 16:11:01 -04:00
atomic.h fix arm atomic store and generate simpler/less-bloated/faster code 2013-09-22 03:06:17 -04:00
crt_arch.h add function types to arm crt assembly 2013-08-15 14:52:27 -04:00
pthread_arch.h add support for TLS variant I, presently needed for arm and mips 2012-10-15 18:51:53 -04:00
reloc.h disable legacy init/fini processing on ARM 2013-07-22 14:08:33 -04:00
syscall_arch.h remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 2013-03-26 23:07:31 -04:00