]> sourceware.org Git - glibc.git/commit
linux: Consolidate time implementation
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 16 Dec 2019 12:58:32 +0000 (09:58 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 3 Jan 2020 14:22:04 +0000 (11:22 -0300)
commite760874ee3315ca3a8a2978b5f8e4dba1e336197
tree07c69a08dede6e2d58d24d78e2891406aadaf3c3
parentc701bcc6f4b0077e544ac100338343ac6cc4cb8a
linux: Consolidate time implementation

The IFUNC bypass to vDSO is used when USE_IFUNC_TIME is set.
Currently powerpc and x86 defines it.  Otherwise the generic
implementation is used, which calls clock_gettime.

Checked on powerpc64le-linux-gnu, powerpc64-linux-gnu,
powerpc-linux-gnu-power4, x86_64-linux-gnu, and i686-linux-gnu.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
sysdeps/unix/sysv/linux/powerpc/time.c
sysdeps/unix/sysv/linux/time.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/x86/time.c
This page took 0.04375 seconds and 5 git commands to generate.