]> sourceware.org Git - glibc.git/commit
linux: Consolidate Linux gettimeofday
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 16 Dec 2019 12:45:55 +0000 (09:45 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 3 Jan 2020 14:21:50 +0000 (11:21 -0300)
commitc701bcc6f4b0077e544ac100338343ac6cc4cb8a
tree4da796093bf3027aee6f5dbc643bef7c6fe16dc7
parent7bcaf77574ae654974979c8c6d5f6a170c644a6e
linux: Consolidate Linux gettimeofday

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

Checked on aarch64-linux-gnu, 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/aarch64/gettimeofday.c
sysdeps/unix/sysv/linux/gettimeofday.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
sysdeps/unix/sysv/linux/x86/gettimeofday.c
This page took 0.042793 seconds and 5 git commands to generate.