diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-05 16:36:30 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-11 07:58:05 -0300 |
commit | 36260d5035afd8c3efe55b4fe5161088f34ba644 (patch) | |
tree | 49b076d195590b2961f062e04b324758347d024d /sysdeps/unix/sysv/linux/xstatconv.c | |
parent | 4b221ec9eebb53571b6e95dceb9d31c98b073a9f (diff) | |
download | glibc-36260d5035afd8c3efe55b4fe5161088f34ba644.tar.gz |
linux: Set default kernel_stat.h to LFS
The XSTAT_IS_XSTAT64 and STAT_IS_KERNEL_STAT flags are now set to 1 and
STATFS_IS_STATFS64 is set to __STATFS_MATCHES_STATFS64. This makes the
default ABI for newer ports to provide only LFS calls.
A copy of non-LFS support is provided to 32-bit ABIS with non-LFS
support (arm, csky, i386, m68k, nios2, s390, and sh). Is also allows
to remove the 64-bit ports, which already uses the default values.
This patch does not change the code generation.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/xstatconv.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/xstatconv.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/xstatconv.c b/sysdeps/unix/sysv/linux/xstatconv.c index 5dfe7c5fb5..4d049d4555 100644 --- a/sysdeps/unix/sysv/linux/xstatconv.c +++ b/sysdeps/unix/sysv/linux/xstatconv.c @@ -21,12 +21,7 @@ #include <kernel_stat.h> #include <sysdep.h> -#if STAT_IS_KERNEL_STAT - -/* Dummy. */ -struct kernel_stat; - -#else +#if !STAT_IS_KERNEL_STAT #include <string.h> |