]> sourceware.org Git - glibc.git/commit
sysdeps: Add clock_gettime64 vDSO
authorAlistair Francis <alistair.francis@wdc.com>
Wed, 18 Sep 2019 15:37:58 +0000 (08:37 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 4 Dec 2019 17:43:40 +0000 (09:43 -0800)
commitf6fbce7dd72145ed9272ac8ef3ea6123c390a72b
tree4a2a844aa730f71e6fab8828e06ce5ebd1dcb8ed
parentd0bc5b725dac852764b98b9b3e0560c003bd000a
sysdeps: Add clock_gettime64 vDSO

Add support for the clock_gettim64 vDSO calls. These are protected by
the HAVE_CLOCK_GETTIME64_VSYSCALL define.

HAVE_CLOCK_GETTIME64_VSYSCALL should be defined for 32-bit platforms
(WORDSIZE == 32) that only run on the 5.1 kernel or later. WORDSIZE ==
64 platforms can use #define __vdso_clock_gettime64 __vdso_clock_gettime
and use the __vdso_clock_gettime syscall as they don't have a
__vdso_clock_gettime64 call.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/init-first.c
sysdeps/unix/sysv/linux/libc-vdso.h
This page took 0.039039 seconds and 5 git commands to generate.