mes/lib/linux
Jan (janneke) Nieuwenhuizen 05d1087741 DRAFT lib: stat: Use SYS_stat64 for 32bit platforms.
* include/linux/arm/syscall.h (SYS_stat64, SYS_lstat64,
SYS_fstat64)[__SIZEOF_LONG_LONG__ == 8]:
New defines.
(SYS_stat, SYS_lstat, SYS_fstat)[__SIZEOF_LONG_LONG__ == 8]: Redefine them.
* include/linux/x86/syscall.h (SYS_stat64, SYS_lstat64,
SYS_fstat64)[__SIZEOF_LONG_LONG__ == 8]:
New defines.
(SYS_stat, SYS_lstat, SYS_fstat)[__SIZEOF_LONG_LONG__ == 8]: Redefine them.
* include/sys/stat.h (struct stat): Move definition to...
* include/linux/arm/kernel-stat.h,
include/linux/m2/kernel-stat.h,
include/linux/x86/kernel-stat.h,
include/linux/x86_64/kernel-stat.h: These new files.
* include/gnu/x86/kernel-stat.h: New file.
* configure (main): Copy <srcdest>include/<kernel>/<arch>/*.h to
include/.
* configure.sh: Likewise.
* .gitignore: Ignore them.  Add copyright header.
* build-aux/GNUmakefile.in (X86_ARCH_HEADERS, ARCH_HEADERS): New
variables.
(build): Use them.
(include/arch/%.h, arch-dir): New targets.
* build-aux/bootstrap.sh.in (AM_CPPFLAGS): Replace
<srcdest>include/<kernel>/<cpu> with built ../include.
* build-aux/build.sh.in (AM_CPPFLAGS): Likewise.
* build-aux/install.sh.in: Also install built include.
2023-02-12 19:27:10 +01:00
..
arm-mes Add ARM linker support files. 2020-06-02 20:27:52 +02:00
arm-mes-gcc mescc: Mes C Library: ARM: syscall.c: Inline fake asm. 2021-01-23 08:43:46 +01:00
arm-mes-m2 ARM: build: Cater for M2-Planet. 2022-04-30 22:51:42 +02:00
arm-mes-mescc mescc: Mes C Library: Split _exit.c, _write.c from mini.c. 2021-01-23 08:43:45 +01:00
x86-mes build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
x86-mes-gcc mescc: Mes C Library: crt: Support more than 255 command line parameters. 2021-05-02 14:22:21 +02:00
x86-mes-m2 kaem: scaffold/read.kaem. 2020-07-15 22:27:57 +02:00
x86-mes-mescc mescc: Mes C Library: crt: Support more than 255 command line parameters. 2021-05-02 14:22:21 +02:00
x86_64-mes build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
x86_64-mes-gcc mescc: Mes C Library: Split _exit.c, _write.c from mini.c. 2021-01-23 08:43:45 +01:00
x86_64-mes-mescc mescc: Mes C Library: Split _exit.c, _write.c from mini.c. 2021-01-23 08:43:45 +01:00
_getcwd.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
_open3.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
_read.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
access.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
brk.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
chdir.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
chmod.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
clock_gettime.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
close.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
dup.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
dup2.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
execve.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
fcntl.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
fork.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
fstat.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
fsync.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
getdents.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
getegid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
geteuid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
getgid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
getpid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
getppid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
getrusage.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
gettimeofday.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
getuid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
ioctl.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
ioctl3.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
kill.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
link.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
lseek.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
lstat.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
malloc.c kaem: read: Remove --bootstrap-mode. 2022-05-03 12:54:22 +02:00
mkdir.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
mknod.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
nanosleep.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
open.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
pipe.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
read.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
readlink.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
rename.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
rmdir.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
setgid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
settimer.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
setuid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
signal.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
sigprogmask.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
stat.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
symlink.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
time.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
unlink.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
wait4.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
waitpid.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00