mes/lib/m2
Jan (janneke) Nieuwenhuizen b2e29dc639
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-01-08 10:19:04 +01:00
..
arm ARM: build: Cater for M2-Planet. 2022-04-30 22:51:42 +02:00
x86 bootstrap: Update M2-Planet x86 definitions from 1.7.0-31-g358b6cf. 2021-01-01 19:07:22 +01:00
cast.c core: Use casting functions. 2020-10-18 15:44:49 +02:00
execv.c mescc: Mes C Library: Add execv for M2-Planet. 2020-07-25 20:03:30 +02:00
execve.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-01-08 10:19:04 +01:00
getcwd.c kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00
isatty.c kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00
time.c DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-01-08 10:19:04 +01:00