diff options
author | Andreas Schwab <schwab@suse.de> | 2020-02-27 10:27:41 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2021-03-07 15:42:45 +0100 |
commit | 460e93e48af6e677b9f67ef65867bb479cccc0b8 (patch) | |
tree | da54d855a3d2eb42d1da5fdcca9c18760f65f39d | |
parent | 6162538850f01c682ade44cd32f4384632fc265e (diff) | |
download | glibc-460e93e48af6e677b9f67ef65867bb479cccc0b8.tar glibc-460e93e48af6e677b9f67ef65867bb479cccc0b8.tar.gz glibc-460e93e48af6e677b9f67ef65867bb479cccc0b8.tar.bz2 glibc-460e93e48af6e677b9f67ef65867bb479cccc0b8.zip |
aarch64: use correct VSYSCALL definition for ILP32
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/sysdep.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 3059b8a147..03e62e803f 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 |