b7b7452f29
Some 32-bit architectures no longer have the 32-bit time_t syscalls. Instead they have suffixed syscalls that returns a 64-bit time_t. If the architecture doesn't have the non-suffixed syscall and is using a 64-bit time_t let's use the suffixed syscall instead. This fixes build issues when building for RISC-V 32-bit with 5.1+ kernel headers. If an architecture only supports the suffixed syscalls, but is still using a 32-bit time_t fall back to the libc call. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
libcoreutils | ||
basename.c | ||
cat.c | ||
chgrp.c | ||
chmod.c | ||
chown.c | ||
chroot.c | ||
cksum.c | ||
comm.c | ||
Config.src | ||
cp.c | ||
cut.c | ||
date.c | ||
dd.c | ||
df.c | ||
dirname.c | ||
dos2unix.c | ||
du.c | ||
echo.c | ||
env.c | ||
expand.c | ||
expr.c | ||
factor.c | ||
false.c | ||
fold.c | ||
head.c | ||
hostid.c | ||
id_test.sh | ||
id.c | ||
install.c | ||
Kbuild.src | ||
link.c | ||
ln.c | ||
logname.c | ||
ls.c | ||
md5_sha1_sum.c | ||
mkdir.c | ||
mkfifo.c | ||
mknod.c | ||
mktemp.c | ||
mv.c | ||
nice.c | ||
nl.c | ||
nohup.c | ||
nproc.c | ||
od_bloaty.c | ||
od.c | ||
paste.c | ||
printenv.c | ||
printf.c | ||
pwd.c | ||
readlink.c | ||
realpath.c | ||
rm.c | ||
rmdir.c | ||
seq.c | ||
shred.c | ||
shuf.c | ||
sleep.c | ||
sort.c | ||
split.c | ||
stat.c | ||
stty.c | ||
sum.c | ||
sync.c | ||
tac.c | ||
tail.c | ||
tee.c | ||
test_ptr_hack.c | ||
test.c | ||
timeout.c | ||
touch.c | ||
tr.c | ||
true.c | ||
truncate.c | ||
tty.c | ||
uname.c | ||
uniq.c | ||
unlink.c | ||
usleep.c | ||
uudecode.c | ||
uuencode.c | ||
wc.c | ||
who.c | ||
whoami.c | ||
yes.c |