diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-05 18:37:02 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-11 07:58:09 -0300 |
commit | e7702cb56ec99521124befba3c52903842a885c1 (patch) | |
tree | 63cef05ec021069172d6d195a9b762b0aff779ac /sysdeps/unix/sysv/linux/netax25 | |
parent | 36260d5035afd8c3efe55b4fe5161088f34ba644 (diff) | |
download | glibc-e7702cb56ec99521124befba3c52903842a885c1.tar.gz glibc-e7702cb56ec99521124befba3c52903842a885c1.tar.xz glibc-e7702cb56ec99521124befba3c52903842a885c1.zip |
linux: Set LFS statfs as default
Currently glibc has three different struct statfs{64} definitions: 1. Non-LFS support where non-LFS and LFS struct have different size: alpha, arm, hppa, i686, m68k, microblaze, mips (all abis), powerpc32, s390, sh4, and sparc. 2. Non-LFS support where non-LFS and LFS struct have the same size: csky and nios2. 3. Only LFS support (where both struct have the same size): arc, ia64, powerpc64 (including LE), riscv (both 32 and 64 bits), s390x, sparc64, and x86 (including x32). The STATFS_IS_STATFS64/__STATFS_MATCHES_STATFS64 does not tell apart between 1. and 2. since for both the only difference is the struct size (for 2. both non-LFS and LFS uses the same syscall, where for 1. the old non-LFS is used for [f]statfs). This patch move the generic statfs.h for both csky and nios2, and make the default definitions for newer ABIs to assume that only LFS will be support (so there is no need to keep no-LFS and LFS struct statfs with the same size, it will be implicit). This patch does not change the code generation. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/netax25')
0 files changed, 0 insertions, 0 deletions