mescc: Mes C Library: Support make: Implement clock_gettime, time.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Aug 2018 22:34:13 +0000 (00:34 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Aug 2018 22:34:13 +0000 (00:34 +0200)
commit06e9dd4bceddb1b1ad54d8e81722c3a53707fe17
tree2c196cc5ba751222ab7e2377ea2f33e72efd1e63
parent2fe2e556e8c8c8cb8488096a4e390519e99fca3c
mescc: Mes C Library: Support make: Implement clock_gettime, time.

* include/linux/x86/syscall.h (SYS_time, SYS_clock_gettime,
SYS_gettimeofday): New macro.
* include/linux/x86_64/syscall.h (SYS_time, SYS_clock_gettime,
SYS_gettimeofday): New macro.
* lib/linux/tcc.c (gettimeofday, time): New function.
* lib/linux/gnu.c (clock_gettime): New function.
* include/time.h: Declare it.
* lib/stub/gettimeofday.c: Remove.
* lib/stub/time.c: Remove.
include/linux/x86/syscall.h
include/linux/x86_64/syscall.h
include/time.h
lib/libc+tcc.c
lib/linux/gnu.c
lib/linux/tcc.c
lib/stub/gettimeofday.c [deleted file]
lib/stub/time.c [deleted file]