public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/schwab/ilp32-2.33] aarch64: use correct VSYSCALL definition for ILP32
@ 2021-03-07 14:45 Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2021-03-07 14:45 UTC (permalink / raw)
  To: glibc-cvs

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

commit 460e93e48af6e677b9f67ef65867bb479cccc0b8
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 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [glibc/schwab/ilp32-2.33] aarch64: use correct VSYSCALL definition for ILP32
@ 2021-02-21 23:35 Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2021-02-21 23:35 UTC (permalink / raw)
  To: glibc-cvs

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

commit 1d17e09f5b1325f4004d5b54994510f7aac96ed7
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 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-07 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 14:45 [glibc/schwab/ilp32-2.33] aarch64: use correct VSYSCALL definition for ILP32 Andreas Schwab
  -- strict thread matches above, loose matches on Subject: below --
2021-02-21 23:35 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).