Fix vDSO initialization on arm and mips
authorAndreas Schwab <schwab@suse.de>
Tue, 24 Sep 2019 10:16:37 +0000 (12:16 +0200)
committerAndreas Schwab <schwab@suse.de>
Tue, 24 Sep 2019 11:40:26 +0000 (13:40 +0200)
ChangeLog
sysdeps/unix/sysv/linux/arm/sysdep.h
sysdeps/unix/sysv/linux/mips/sysdep.h

index cda7b8c..f6f6143 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
+2019-09-24  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/unix/sysv/linux/arm/sysdep.h
+       (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
+       not "__vdso_gettimeofday".
+       (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
+       "__vdso_clock_gettime".
+       * sysdeps/unix/sysv/linux/mips/sysdep.h
+       (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
+       not "__vdso_gettimeofday".
+       (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
+       "__vdso_clock_gettime".
+
 2019-09-19  Paul A. Clarke  <pc@us.ibm.com>
-    
+
        * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
        (__fe_mffscrn): New.
        * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
index f9cc933..e9e022e 100644 (file)
@@ -392,8 +392,8 @@ __local_syscall_error:                                              \
 #define VDSO_HASH  61765110
 
 /* List of system calls which are supported as vsyscalls.  */
-#define HAVE_CLOCK_GETTIME_VSYSCALL    "__vdso_gettimeofday"
-#define HAVE_GETTIMEOFDAY_VSYSCALL     "__vdso_clock_gettime"
+#define HAVE_CLOCK_GETTIME_VSYSCALL    "__vdso_clock_gettime"
+#define HAVE_GETTIMEOFDAY_VSYSCALL     "__vdso_gettimeofday"
 
 #define LOAD_ARGS_0()
 #define ASM_ARGS_0
index b2045fc..82a3cf9 100644 (file)
@@ -20,8 +20,8 @@
 #define VDSO_HASH  61765110
 
 /* List of system calls which are supported as vsyscalls.  */
-#define HAVE_CLOCK_GETTIME_VSYSCALL     "__vdso_gettimeofday"
-#define HAVE_GETTIMEOFDAY_VSYSCALL      "__vdso_clock_gettime"
+#define HAVE_CLOCK_GETTIME_VSYSCALL     "__vdso_clock_gettime"
+#define HAVE_GETTIMEOFDAY_VSYSCALL      "__vdso_gettimeofday"
 
 #ifndef __ASSEMBLER__