]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
aarch64: use correct VSYSCALL definition for ILP32
authorAndreas Schwab <schwab@suse.de>
Thu, 27 Feb 2020 09:27:41 +0000 (10:27 +0100)
committerAndreas Schwab <schwab@suse.de>
Sun, 7 Mar 2021 14:42:45 +0000 (15:42 +0100)
sysdeps/unix/sysv/linux/aarch64/sysdep.h

index 3059b8a147c00c022f3800687f9f032ef0ed7f82..03e62e803fc7105b1e214952275adbfba4b43c82 100644 (file)
 # 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