This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 2/2] sysdeps/clock_gettime: Use clock_gettime64 if avaliable
- From: Arnd Bergmann <arnd at arndb dot de>
- To: Lukasz Majewski <lukma at denx dot de>
- Cc: Alistair Francis <alistair23 at gmail dot com>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, GNU C Library <libc-alpha at sourceware dot org>, Alistair Francis <alistair dot francis at wdc dot com>
- Date: Thu, 5 Dec 2019 12:11:23 +0100
- Subject: Re: [PATCH v3 2/2] sysdeps/clock_gettime: Use clock_gettime64 if avaliable
- References: <20191123222708.17021-1-alistair.francis@wdc.com> <20191123222708.17021-2-alistair.francis@wdc.com> <621b67c9-028e-e913-8b9a-7978d2d05e04@linaro.org> <51162415-4919-0905-2aa3-4b5d33912f75@linaro.org> <CAKmqyKO8uv=VjWUERJK6E-Dn-+W8tYvXvkzVe0eLzd6e2s6daw@mail.gmail.com> <20191205114845.54c1cc6f@jawa>
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, 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.
Arnd