From: Andreas Schwab Date: Thu, 27 Feb 2020 09:27:41 +0000 (+0100) Subject: aarch64: use correct VSYSCALL definition for ILP32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=460e93e48af6e677b9f67ef65867bb479cccc0b8;p=thirdparty%2Fglibc.git aarch64: use correct VSYSCALL definition for ILP32 --- diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 3059b8a147c..03e62e803fc 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h +++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h @@ -160,8 +160,13 @@ # endif /* List of system calls which are supported as vsyscalls. */ +# ifdef __LP64__ # define HAVE_CLOCK_GETRES64_VSYSCALL "__kernel_clock_getres" # define HAVE_CLOCK_GETTIME64_VSYSCALL "__kernel_clock_gettime" +# else +# define HAVE_CLOCK_GETRES_VSYSCALL "__kernel_clock_getres" +# define HAVE_CLOCK_GETTIME_VSYSCALL "__kernel_clock_gettime" +# endif # define HAVE_GETTIMEOFDAY_VSYSCALL "__kernel_gettimeofday" /* Previously AArch64 used the generic version without the libc_hidden_def