[musl] Re: Thread pointer changes
Szabolcs Nagy
nsz at port70.net
Fri Jun 27 14:09:31 PDT 2014
* Russell King - ARM Linux <linux at arm.linux.org.uk> [2014-06-27 21:09:49 +0100]:
> As I said above, enabling CONFIG_KUSER_HELPERS is known to be an ABI
> break, and it's well documented as such. The future will be running
> systems without the kuser helpers because on ARMv6 and later, there's
> little point in having them. In fact, today almost all C libraries
> are built without needing the kuser helpers.
i thought the helpers in the kernel can avoid certain memory
barriers that the userspace has to do on armv6 for atomics
(and those barriers are deprecated on armv7 so i thought the
kuser page was better for portable binaries)
> Due to that, any ARMv5 or earlier CPU will always have the kuser helper
> page. ARMv6 and later may or may not have the kuser helper page, but
> there you're really building for a different ABI anyway (VFP-based) and
> you also know that you have the thread registers.
so is it expected that the libc makes no attempt to provide
portable binary interface for armv5 and armv6?
ie should musl treat those as different targets?
More information about the linux-arm-kernel
mailing list