This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/PATCH] ARM: VDSO support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]