public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] aarch64: fix VDSO setup to only apply to known ABIs
@ 2022-08-05 19:32 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-08-05 19:32 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9ef71c0be0d8b7f50f987d2d96198757e4356ad5
commit 9ef71c0be0d8b7f50f987d2d96198757e4356ad5
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Wed May 11 10:30:36 2022 +0100
aarch64: fix VDSO setup to only apply to known ABIs
New syscall ABI requires different VDSO support code.
Diff:
---
sysdeps/unix/sysv/linux/aarch64/sysdep.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index f1853e012f..f5b488921f 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -154,15 +154,17 @@
# ifdef __LP64__
# define VDSO_NAME "LINUX_2.6.39"
# define VDSO_HASH 123718537
-# else
+# elif defined __ILP32__
# define VDSO_NAME "LINUX_4.9"
# define VDSO_HASH 61765625
# endif
+# ifdef VDSO_NAME
/* List of system calls which are supported as vsyscalls. */
# define HAVE_CLOCK_GETRES64_VSYSCALL "__kernel_clock_getres"
# define HAVE_CLOCK_GETTIME64_VSYSCALL "__kernel_clock_gettime"
# define HAVE_GETTIMEOFDAY_VSYSCALL "__kernel_gettimeofday"
+# endif
# undef INTERNAL_SYSCALL_RAW
# define INTERNAL_SYSCALL_RAW(name, nr, args...) \
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] aarch64: fix VDSO setup to only apply to known ABIs
@ 2022-11-23 14:43 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-11-23 14:43 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=666bf6a0fa8f5828ede637125c5ea0bb646d8392
commit 666bf6a0fa8f5828ede637125c5ea0bb646d8392
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Wed May 11 10:30:36 2022 +0100
aarch64: fix VDSO setup to only apply to known ABIs
New syscall ABI requires different VDSO support code.
Diff:
---
sysdeps/unix/sysv/linux/aarch64/sysdep.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index f1853e012f..f5b488921f 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -154,15 +154,17 @@
# ifdef __LP64__
# define VDSO_NAME "LINUX_2.6.39"
# define VDSO_HASH 123718537
-# else
+# elif defined __ILP32__
# define VDSO_NAME "LINUX_4.9"
# define VDSO_HASH 61765625
# endif
+# ifdef VDSO_NAME
/* List of system calls which are supported as vsyscalls. */
# define HAVE_CLOCK_GETRES64_VSYSCALL "__kernel_clock_getres"
# define HAVE_CLOCK_GETTIME64_VSYSCALL "__kernel_clock_gettime"
# define HAVE_GETTIMEOFDAY_VSYSCALL "__kernel_gettimeofday"
+# endif
# undef INTERNAL_SYSCALL_RAW
# define INTERNAL_SYSCALL_RAW(name, nr, args...) \
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] aarch64: fix VDSO setup to only apply to known ABIs
@ 2022-10-27 13:53 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-27 13:53 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=113977dd073c928b137985dd9a5ace3f5526c70c
commit 113977dd073c928b137985dd9a5ace3f5526c70c
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Wed May 11 10:30:36 2022 +0100
aarch64: fix VDSO setup to only apply to known ABIs
New syscall ABI requires different VDSO support code.
Diff:
---
sysdeps/unix/sysv/linux/aarch64/sysdep.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index f1853e012f..f5b488921f 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -154,15 +154,17 @@
# ifdef __LP64__
# define VDSO_NAME "LINUX_2.6.39"
# define VDSO_HASH 123718537
-# else
+# elif defined __ILP32__
# define VDSO_NAME "LINUX_4.9"
# define VDSO_HASH 61765625
# endif
+# ifdef VDSO_NAME
/* List of system calls which are supported as vsyscalls. */
# define HAVE_CLOCK_GETRES64_VSYSCALL "__kernel_clock_getres"
# define HAVE_CLOCK_GETTIME64_VSYSCALL "__kernel_clock_gettime"
# define HAVE_GETTIMEOFDAY_VSYSCALL "__kernel_gettimeofday"
+# endif
# undef INTERNAL_SYSCALL_RAW
# define INTERNAL_SYSCALL_RAW(name, nr, args...) \
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] aarch64: fix VDSO setup to only apply to known ABIs
@ 2022-10-26 15:14 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-26 15:14 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ddf745daa52bd99d4b40a2c9d73cc6721e22a573
commit ddf745daa52bd99d4b40a2c9d73cc6721e22a573
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Wed May 11 10:30:36 2022 +0100
aarch64: fix VDSO setup to only apply to known ABIs
New syscall ABI requires different VDSO support code.
Diff:
---
sysdeps/unix/sysv/linux/aarch64/sysdep.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index f1853e012f..f5b488921f 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -154,15 +154,17 @@
# ifdef __LP64__
# define VDSO_NAME "LINUX_2.6.39"
# define VDSO_HASH 123718537
-# else
+# elif defined __ILP32__
# define VDSO_NAME "LINUX_4.9"
# define VDSO_HASH 61765625
# endif
+# ifdef VDSO_NAME
/* List of system calls which are supported as vsyscalls. */
# define HAVE_CLOCK_GETRES64_VSYSCALL "__kernel_clock_getres"
# define HAVE_CLOCK_GETTIME64_VSYSCALL "__kernel_clock_gettime"
# define HAVE_GETTIMEOFDAY_VSYSCALL "__kernel_gettimeofday"
+# endif
# undef INTERNAL_SYSCALL_RAW
# define INTERNAL_SYSCALL_RAW(name, nr, args...) \
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-23 14:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05 19:32 [glibc/arm/morello/main] aarch64: fix VDSO setup to only apply to known ABIs Szabolcs Nagy
2022-10-26 15:14 Szabolcs Nagy
2022-10-27 13:53 Szabolcs Nagy
2022-11-23 14:43 Szabolcs Nagy
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).