linux: Move the struct stat{64} to struct_stat.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 17 Jul 2020 12:18:39 +0000 (09:18 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 9 Oct 2020 20:02:06 +0000 (17:02 -0300)
commitd8927238307b9df32319a34755ac36f6e92a0b7d
tree8b204b5b869bd345d29e8c7abcfe6922a4247213
parent589260cef8c2090d67d3deaa0a9ffa61c96de951
linux: Move the struct stat{64} to struct_stat.h

The common definitions are moved to a Linux generic stat.h while the
struct stat{64} definition are moved to a arch-specific struct_stat.h
header.

Checked with a build for all affected ABIs. I also checked on x86_64,
i686, powerpc, powerpc64le, sparcv9, sparc64, s390, and s390x.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
13 files changed:
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/alpha/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/alpha/bits/stat.h with 72% similarity]
sysdeps/unix/sysv/linux/bits/stat.h
sysdeps/unix/sysv/linux/bits/struct_stat.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/generic/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/generic/bits/stat.h with 77% similarity]
sysdeps/unix/sysv/linux/ia64/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/ia64/bits/stat.h with 75% similarity]
sysdeps/unix/sysv/linux/m68k/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/m68k/bits/stat.h with 77% similarity]
sysdeps/unix/sysv/linux/microblaze/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/microblaze/bits/stat.h with 81% similarity]
sysdeps/unix/sysv/linux/mips/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/mips/bits/stat.h with 85% similarity]
sysdeps/unix/sysv/linux/powerpc/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/powerpc/bits/stat.h with 85% similarity]
sysdeps/unix/sysv/linux/s390/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/s390/bits/stat.h with 85% similarity]
sysdeps/unix/sysv/linux/sparc/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/sparc/bits/stat.h with 77% similarity]
sysdeps/unix/sysv/linux/x86/bits/struct_stat.h [moved from sysdeps/unix/sysv/linux/x86/bits/stat.h with 79% similarity]