[RFC/PATCH] ARM: VDSO support
Joseph Myers
joseph@codesourcery.com
Tue Apr 7 20:06:00 GMT 2015
On Tue, 7 Apr 2015, Adhemerval Zanella wrote:
> So I think a possible cleanup can start as:
>
> 1. Add INLINE_VSYSCALL for arch that does not define it
>
> 2. Add a sysdeps/unix/sysv/linux/gettimeofday.c that uses the INLINE_VSYSCALL
>
> 3. aarch64/tile/s390 can be removed by 2.
>
> 4. The IFUNC cleanup will require some work. It can be use
> ./sysdeps/unix/sysv/linux/x86/gettimeofday.c as base and if a arch want to
> use it my define USE_IFUNC (or something else) and define the FALLBACK
> mechanism for case where vDSO is not available.
>
> What do you think?
Seems plausible to me. The case of IFUNCs not necessarily being supported
on some architectures is one that does need architecture differences
(beyond the choice of whether there is a VDSO at all), but I don't see an
obvious need for other differences.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list