glibc/sysdeps/unix/sysv/linux/x86
Adhemerval Zanella f9a7554009 Change most internal uses of time to __clock_gettime.
As for gettimeofday, time will be implemented based on clock_gettime
on all platforms and internal code should use clock_gettime
directly.  In addition to removing a layer of indirection, this will
allow us to remove the PLT-bypass gunk for gettimeofday.

The changed code always assumes __clock_gettime (CLOCK_REALTIME)
or __clock_gettime (CLOCK_REALTIME_COARSE) (for Linux case) cannot
fail, using the same rationale for gettimeofday change.  And internal
helper was added (time_now).

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

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2019-10-30 17:11:10 -03:00
..
bits Define __STATFS_MATCHES_STATFS64 2019-10-24 09:14:26 -07:00
include/asm x86/CET: Extend arch_prctl syscall for CET control 2018-07-24 12:23:17 -07:00
sys Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to sys/ptrace.h. 2019-10-14 23:43:52 +00:00
arch-pkey.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
cpu-features.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-cet.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-sysdep.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-conf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-conf.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-timed.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-trylock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-unlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
force-elision.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
gettimeofday.c Remove PREPARE_VERSION and PREPARE_VERSION_KNOW 2019-09-17 17:09:01 -03:00
hle.h x86: Use RTM intrinsics in pthread mutex lock elision 2018-10-02 07:51:57 -07:00
Implies
jmp_buf-ssp.sym x86: Make a space in jmpbuf for shadow stack pointer 2017-11-30 04:58:01 -08:00
lowlevellock.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile x86: Use RTM intrinsics in pthread mutex lock elision 2018-10-02 07:51:57 -07:00
pkey_get.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pkey_set.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_mutex_cond_lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_mutex_lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_mutex_timedlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_mutex_trylock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
setjmpP.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sysconf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
time.c Change most internal uses of time to __clock_gettime. 2019-10-30 17:11:10 -03:00
tst-cet-property-1.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-cet-property-2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-cet-property-dep-2.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-cet-setcontext-1.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-saved_mask-1.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00