mes/include
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
..
gnu DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
linux DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
mach hurd: Fixes for upgrade to debian-hurd-20190220.img. 2019-12-13 21:52:31 +01:00
mes core: Move M2_PTR_SIZE, M2_CELL_SIZE to include file. 2022-05-07 10:50:06 +02:00
sys DRAFT lib: stat: Use SYS_stat64 for 32bit platforms. 2023-02-12 19:27:10 +01:00
alloca.h mescc: Mes C Library: Avoid type/size_t conflicts. 2019-06-01 08:44:18 +02:00
ar.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
argz.h hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
assert.h build: Simplify. 2019-06-08 15:36:22 +02:00
ctype.h mescc: Mes C Library: Support GNU Awk: Do not flush std files. 2019-06-19 11:26:37 +02:00
dirent.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
dirstream.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
dlfcn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
endian.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
errno.h mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +02:00
fcntl.h kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00
features.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
float.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
getopt.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
grp.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
inttypes.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
libgen.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
limits.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
locale.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
math.h mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
memory.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
pwd.h build: Simplify. 2019-06-08 15:36:22 +02:00
setjmp.h mescc: Mes C Library: ARM: setjmp.c: Inline fake asm. 2021-01-23 08:43:46 +01:00
signal.h kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00
stdarg.h mescc: Mes C Library: vfprintf: Support --with-system-libc. 2019-11-23 21:37:57 +01:00
stdbool.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stddef.h mescc: Mes C Library: Make malloc align the blocks it gives out. 2021-01-23 08:43:48 +01:00
stdint.h mescc: define int64_t and uint64_t only if it's possible to define them as 2021-01-23 08:43:45 +01:00
stdio.h kaem: read: Remove --bootstrap-mode. 2022-05-03 12:54:22 +02:00
stdlib.h mescc: Mes C Library: Fix compile warnings. 2019-06-12 15:59:06 +02:00
stdnoreturn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
string.h build: Simplify. 2019-06-08 15:36:22 +02:00
strings.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
termio.h mescc: Mes C Library: Support GNU Bash: Add struct winsize. 2019-07-06 11:25:02 +02:00
time.h kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00
unistd.h mescc: Mes C Library: Support GNU Awk: Add getpgid, getpgrp stubs. 2019-07-18 12:13:18 +02:00