[PATCH v3 2/2] sysdeps/clock_gettime: Use clock_gettime64 if avaliable

Lukasz Majewski lukma@denx.de
Thu Dec 5 13:24:00 GMT 2019


Hi Arnd,

> On Thu, Dec 5, 2019 at 11:48 AM Lukasz Majewski <lukma@denx.de> wrote:
> > This is not a problem for now, as we still have some time until
> > __ASSUME_TIME64_SYSCALLS is enabled by default in glibc.
> > Moreover, I do guess that __vdso_clock_gettime64 for ARM 32 bits
> > will be available by then :-).  
> 
> Have you checked mainline? The generic vdso support including
> clock_gettime64 was merged for ARM in v5.5,

Indeed - it is now available in linux next-20191205 
(SHA1: 74d06efb9c2f99b496eb118b1e941dc4c6404e93).

I've only checked the sources for linux v5.4 tag.

> though it is still
> missing on nds32, powerpc32, riscv32, s390 (compat mode only)
> and sparc32. No idea if all of them will ever do the change, some
> might not care about 32 bit enough any more. Then again, a lot
> of architectures don't have support vdso at all, so you could treat
> them the same way.

Thanks for sharing the information.

> 
>       Arnd

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20191205/8ab86266/attachment.sig>


More information about the Libc-alpha mailing list