From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2138) id 0704A3858D35; Wed, 5 Aug 2020 19:55:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0704A3858D35 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Andreas Schwab To: glibc-cvs@sourceware.org Subject: [glibc/schwab/ilp32-2.32] aarch64: use correct VSYSCALL definition for ILP32 X-Act-Checkin: glibc X-Git-Author: Andreas Schwab X-Git-Refname: refs/heads/schwab/ilp32-2.32 X-Git-Oldrev: 59112543591a5b080cb1147b71f1aed7610de916 X-Git-Newrev: c56b7c9fcae27e5b7d01612b781e76827621b473 Message-Id: <20200805195512.0704A3858D35@sourceware.org> Date: Wed, 5 Aug 2020 19:55:12 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2020 19:55:12 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c56b7c9fcae27e5b7d01612b781e76827621b473 commit c56b7c9fcae27e5b7d01612b781e76827621b473 Author: Andreas Schwab 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