mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
linux: Add support for clock_getres64 vDSO
No architecture currently defines the vDSO symbol. On archictures with 64-bit time_t the HAVE_CLOCK_GETRES_VSYSCALL is renamed to HAVE_CLOCK_GETRES64_VSYSCALL, it simplifies clock_gettime code. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
@ -62,6 +62,10 @@ PROCINFO_CLASS int (*_dl_vdso_getcpu) (unsigned *, unsigned *, void *) RELRO;
|
||||
PROCINFO_CLASS int (*_dl_vdso_clock_getres) (clockid_t,
|
||||
struct timespec *) RELRO;
|
||||
# endif
|
||||
# ifdef HAVE_CLOCK_GETRES64_VSYSCALL
|
||||
PROCINFO_CLASS int (*_dl_vdso_clock_getres_time64) (clockid_t,
|
||||
struct __timespec64 *) RELRO;
|
||||
# endif
|
||||
|
||||
/* PowerPC specific ones. */
|
||||
# ifdef HAVE_GET_TBFREQ
|
||||
|
Reference in New Issue
Block a user