This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC v6 09/23] RISC-V: Add support for 32-bit vDSO calls
- From: Arnd Bergmann <arnd at arndb dot de>
- To: Alistair Francis <alistair dot francis at wdc dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Florian Weimer <fweimer at redhat dot com>, Joseph Myers <joseph at codesourcery dot com>, palmerdabbelt at google dot com, macro at wdc dot com, Zong Li <zongbox at gmail dot com>, Alistair Francis <alistair23 at gmail dot com>
- Date: Mon, 13 Jan 2020 14:33:14 +0100
- Subject: Re: [RFC v6 09/23] RISC-V: Add support for 32-bit vDSO calls
- References: <cover.1578824547.git.alistair.francis@wdc.com> <29811415ee8fa8e8e4cb379903c2199b5df54f9b.1578824547.git.alistair.francis@wdc.com>
On Sun, Jan 12, 2020 at 11:40 AM Alistair Francis
<alistair.francis@wdc.com> wrote:
> +# if __riscv_xlen == 32
> +# define VDSO_NAME "LINUX_5.4"
> +# define VDSO_HASH 61765876
> +# define HAVE_CLOCK_GETTIME64_VSYSCALL "__vdso_clock_gettime64"
> +# define HAVE_GETCPU_VSYSCALL "__vdso_getcpu"
Mainline linux doesn't have these yet on risc-v. I assume you have
patches to add them?
Arnd