linux: Add time64 support for nanosleep
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sun, 12 Jul 2020 17:55:30 +0000 (14:55 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 28 Sep 2020 19:22:03 +0000 (16:22 -0300)
commitc3a020eedde907e7df69159a54bf59d39db85709
treefa83d802be21952807842eedb8012618cc7f4c38
parent4af88f96dec03a7f732ac217e220afa4b48281d7
linux: Add time64 support for nanosleep

It uses __clock_nanosleep64 and adds the __nanosleep64 symbol.

Checked on x86_64-linux-gnu and i686-linux-gnu (on 5.4 and on 4.15
kernel).

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
include/time.h
sysdeps/unix/sysv/linux/nanosleep.c [new file with mode: 0644]