public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Szabolcs Nagy <nsz@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/arm/morello/main] aarch64: fix VDSO setup to only apply to known ABIs
Date: Fri,  5 Aug 2022 19:32:37 +0000 (GMT)	[thread overview]
Message-ID: <20220805193237.DCBB13857361@sourceware.org> (raw)

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...)		\


             reply	other threads:[~2022-08-05 19:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05 19:32 Szabolcs Nagy [this message]
2022-10-26 15:14 Szabolcs Nagy
2022-10-27 13:53 Szabolcs Nagy
2022-11-23 14:43 Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220805193237.DCBB13857361@sourceware.org \
    --to=nsz@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).