summaryrefslogtreecommitdiff
path: root/tools/include/nolibc/crt.h
diff options
context:
space:
mode:
authorZhangjin Wu <falcon@tinylab.org>2023-07-16 02:20:01 +0800
committerWilly Tarreau <w@1wt.eu>2023-08-23 04:40:22 +0200
commitaf93807eaef689a4964fdec085c77c24b49a5560 (patch)
tree4abf2e52f5a1642f37d80b4a24dec1979935dac6 /tools/include/nolibc/crt.h
parentbff60150f7c464d80d86f289c056c2ad2afb3c05 (diff)
tools/nolibc: remove the old sys_stat support
The statx manpage [1] shows that it has been supported from Linux 4.11 and glibc 2.28, the Linux support can be checked for all of the architectures with this command: $ git grep -r statx v4.11 arch/ include/uapi/asm-generic/unistd.h \ | grep -E "aarch64|arm|mips|s390|x86|:include/uapi" Besides riscv and loongarch, all of the nolibc supported architectures have added sys_statx from Linux v4.11. riscv is mainlined to v4.15, loongarch is mainlined to v5.19, both of them use the generic unistd.h, so, they have added sys_statx from their first mainline versions. The current oldest stable branch is v4.14, only reserving sys_statx still preserves compatibility with all of the supported stable branches, So, let's remove the old arch related and dependent sys_stat support completely. This is friendly to the future new architecture porting. [1]: https://man7.org/linux/man-pages/man2/statx.2.html Signed-off-by: Zhangjin Wu <falcon@tinylab.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/include/nolibc/crt.h')
0 files changed, 0 insertions, 0 deletions