busybox/coreutils
Alistair Francis b7b7452f29 date: Use 64 prefix syscall if we have to
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>
2019-10-08 16:31:54 +02:00
..
libcoreutils
basename.c
cat.c
chgrp.c
chmod.c
chown.c
chroot.c
cksum.c
comm.c
Config.src
cp.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
cut.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
date.c date: Use 64 prefix syscall if we have to 2019-10-08 16:31:54 +02:00
dd.c dd: fix handling of short result of full_write(), closes 11711 2019-05-14 17:49:14 +02:00
df.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
dirname.c
dos2unix.c
du.c du: don't count duplicate arguments. Closes 5288 2019-02-19 17:08:39 +01:00
echo.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
env.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
expand.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
expr.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
factor.c
false.c
fold.c
head.c
hostid.c
id_test.sh
id.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
install.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
Kbuild.src
link.c
ln.c ln: --no-target-directory implies --no-dereference 2019-10-08 14:07:50 +02:00
logname.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
ls.c ls: fix SEGV when --color is used and ENABLE_LS_COLOR=n 2019-05-26 13:53:41 +02:00
md5_sha1_sum.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
mkdir.c
mkfifo.c
mknod.c
mktemp.c
mv.c
nice.c
nl.c
nohup.c
nproc.c
od_bloaty.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
od.c
paste.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
printenv.c
printf.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
pwd.c
readlink.c
realpath.c
rm.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
rmdir.c
seq.c
shred.c
shuf.c
sleep.c sleep: support "inf" 2019-01-07 15:20:56 +01:00
sort.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
split.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
stat.c stat: print nanosecond times, fix printing of empty lines 2019-08-03 18:08:27 +02:00
stty.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
sum.c
sync.c fsync,sync: merge into one source module 2019-04-02 14:55:29 +02:00
tac.c
tail.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
tee.c tee: do not intercept SIGPIPE 2019-10-07 14:25:45 +02:00
test_ptr_hack.c
test.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
timeout.c
touch.c
tr.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
true.c
truncate.c
tty.c
uname.c
uniq.c
unlink.c
usleep.c
uudecode.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
uuencode.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
wc.c
who.c
whoami.c
yes.c