mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
hppa/vdso: Provide 64-bit clock_gettime() vDSO only
Adhemerval noticed that the gettimeofday() and 32-bit clock_gettime() vDSO calls won't be used by glibc on hppa, so there is no need to declare them. Both syscalls will be emulated by utilizing return values of the 64-bit clock_gettime() vDSO instead. Signed-off-by: Helge Deller <deller@gmx.de> Suggested-by: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
9f80d8134a
commit
4737e6a7a3
@ -473,11 +473,8 @@ L(pre_end): ASM_LINE_SEP \
|
||||
|
||||
#ifdef __LP64__
|
||||
# define HAVE_CLOCK_GETTIME_VSYSCALL "__vdso_clock_gettime"
|
||||
# define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday"
|
||||
#else
|
||||
# define HAVE_CLOCK_GETTIME_VSYSCALL "__vdso_clock_gettime"
|
||||
# define HAVE_CLOCK_GETTIME64_VSYSCALL "__vdso_clock_gettime64"
|
||||
# define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday"
|
||||
#endif /* __LP64__ */
|
||||
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
Loading…
Reference in New Issue
Block a user