Fix vDSO initialization on arm and mips

This commit is contained in:
Andreas Schwab 2019-09-24 12:16:37 +02:00
parent f2144b7874
commit eb502f72cd
3 changed files with 18 additions and 5 deletions

View File

@ -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):

View 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

View 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__