glibc/sysdeps
Adhemerval Zanella e7702cb56e 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>
2021-02-11 07:58:09 -03:00
..
aarch64 aarch64: Fix the list of tested IFUNC variants [BZ #26818] 2021-01-25 16:15:54 +00:00
alpha Update alpha libm-test-ulps 2021-01-28 14:05:14 -03:00
arc ARC: nofpu: Regenerate ulps 2021-01-17 16:39:45 -08:00
arm Update arm libm-test-ulps. 2021-01-18 20:22:51 +00:00
csky Update C-SKY libm-test-ulps 2021-01-23 19:00:00 +00:00
generic sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305] 2021-02-01 11:00:52 -08:00
gnu Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hppa Update hppa libm-test-ulps 2021-01-18 14:23:10 +00:00
htl linux: Require /dev/shm as the shared memory file system 2021-02-08 14:10:42 -03:00
hurd Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
i386 i686: Regenerate ULPs 2021-02-03 23:16:39 +05:30
ia64 Update ia64 libm-test-ulps 2021-01-28 14:05:15 -03:00
ieee754 math: Add BZ#18980 fix back on dbl-64 cosh 2021-01-11 16:56:33 -03:00
m68k Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mach hurd TIOCFLUSH: fix fixing argument 2021-02-01 20:01:34 +01:00
microblaze Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mips Update MIPS libm-test-ulps. 2021-01-18 21:36:00 +00:00
nios2 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
nptl linux: Require /dev/shm as the shared memory file system 2021-02-08 14:10:42 -03:00
posix linux: Require /dev/shm as the shared memory file system 2021-02-08 14:10:42 -03:00
powerpc powerpc64: Workaround sigtramp vdso return call 2021-01-28 13:57:50 -03:00
pthread linux: Fix __sem_check_add_mapping search_sem 2021-02-09 16:09:51 -03:00
riscv riscv: Initialize $gp before resolving the IRELATIVE relocation 2021-01-10 21:25:16 -05:00
s390 Remove dbl-64/wordsize-64 (part 2) 2021-01-07 15:26:26 +00:00
sh sh: Update libm-tests-ulps 2021-01-28 14:05:14 -03:00
sparc Update sparc libm-test-ulps 2021-01-28 14:05:14 -03:00
unix linux: Set LFS statfs as default 2021-02-11 07:58:09 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
x86 x86: Use SIZE_MAX instead of (long int)-1 for tunable range value 2021-02-10 19:08:33 +05:30
x86_64 x86-64: Refactor and improve performance of strchr-avx2.S 2021-02-08 11:21:33 -08:00