mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-15 21:40:05 +00:00
aarch64: fix VDSO setup to only apply to known ABIs
New syscall ABI requires different VDSO support code.
This commit is contained in:
parent
2d17978865
commit
9ef71c0be0
@ -154,15 +154,17 @@
|
|||||||
# ifdef __LP64__
|
# ifdef __LP64__
|
||||||
# define VDSO_NAME "LINUX_2.6.39"
|
# define VDSO_NAME "LINUX_2.6.39"
|
||||||
# define VDSO_HASH 123718537
|
# define VDSO_HASH 123718537
|
||||||
# else
|
# elif defined __ILP32__
|
||||||
# define VDSO_NAME "LINUX_4.9"
|
# define VDSO_NAME "LINUX_4.9"
|
||||||
# define VDSO_HASH 61765625
|
# define VDSO_HASH 61765625
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
# ifdef VDSO_NAME
|
||||||
/* List of system calls which are supported as vsyscalls. */
|
/* List of system calls which are supported as vsyscalls. */
|
||||||
# define HAVE_CLOCK_GETRES64_VSYSCALL "__kernel_clock_getres"
|
# define HAVE_CLOCK_GETRES64_VSYSCALL "__kernel_clock_getres"
|
||||||
# define HAVE_CLOCK_GETTIME64_VSYSCALL "__kernel_clock_gettime"
|
# define HAVE_CLOCK_GETTIME64_VSYSCALL "__kernel_clock_gettime"
|
||||||
# define HAVE_GETTIMEOFDAY_VSYSCALL "__kernel_gettimeofday"
|
# define HAVE_GETTIMEOFDAY_VSYSCALL "__kernel_gettimeofday"
|
||||||
|
# endif
|
||||||
|
|
||||||
# undef INTERNAL_SYSCALL_RAW
|
# undef INTERNAL_SYSCALL_RAW
|
||||||
# define INTERNAL_SYSCALL_RAW(name, nr, args...) \
|
# define INTERNAL_SYSCALL_RAW(name, nr, args...) \
|
||||||
|
Loading…
Reference in New Issue
Block a user