public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/schwab/ilp32-2.32] aarch64: use correct VSYSCALL definition for ILP32
@ 2020-08-05 19:55 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2020-08-05 19:55 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c56b7c9fcae27e5b7d01612b781e76827621b473

commit c56b7c9fcae27e5b7d01612b781e76827621b473
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Feb 27 10:27:41 2020 +0100

    aarch64: use correct VSYSCALL definition for ILP32

Diff:
---
 sysdeps/unix/sysv/linux/aarch64/sysdep.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index 319a7c7ac5..e643135d72 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-05 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 19:55 [glibc/schwab/ilp32-2.32] aarch64: use correct VSYSCALL definition for ILP32 Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).