mes/lib/posix
Jan (janneke) Nieuwenhuizen dad460189f kaem.run: Remove --bootstrap-mode.
* include/linux/arm/syscall.h,
include/linux/x86/syscall.h,
include/mes/constants.h: Remove CONSTANTs.
* lib/m2/open.c: Move to...
* lib/linux/open.c: ...here.  Update to make gcc-compatible.
* scaffold/argv.kaem: Update accordingly.
* lib/linux/lseek.c (_leek, lseek): Suport M2-Planet.
* lib/linux/_open3.c (_open3): Fix cast.
* lib/linux/waitpid.c (waitpid): Suport M2-Planet.
* lib/m2/getcwd.c (PATH_MAX): Remove CONSTANT.
* lib/m2/isatty.c (TCGETS): Remove CONSTANT.
* lib/mes/ntoab.c: Support M2-Planet.
* lib/posix/getcwd.c (__getcwd_buf): Remove.
* lib/posix/getenv.c (M2_PTR_SIZE)[__M2__]: Update to #define.
* lib/posix/setenv.c: Likewise.
* lib/stub/__raise.c (SIGABRT): Remove CONSTANT.
* src/core.c (error): Use __M2__ instead of __M2_PLANET__.
* src/gc.c (M2_CELL_SIZE)[__M2__]: Update to #define.  Support
non-bootstrap-mode.
* src/symbol.c: Likewise.
* src/vector.c: Likewise.
* src/posix.c: Likewise.
(__raise): Move to...
* include/mes/lib-cc.h (__raise): ...this new file to avoid M2-Planet crash.
* include/sys/types.h: Include it.
* lib/mes/div.c (__raise): Remove prototype.
[__TINYC__ || SYSTEM_LIBC] (__raise): Remove macro.
* include/mes/lib.h (__raise)[SYSTEM_LIBC]: Remove prototype.
* kaem.run: Remove --botstrap-mode.  Update source list accordingly.
* simple.make (M2_PLANET_FLAGS): Remove --bootstrap-mode.
* simple.make (M2_SOURCES, M2_PLANET_INCLUDES): Update source list
accordingly.
* include/sys/types.h (EOF): Move to...
* include/mes/lib-cccc.h (EOF): ...here, and...
* include/m2/types.h (EOF): ...here, to avoid M2-Planet crash.
2023-05-03 08:03:48 +02:00
..
alarm.c build: Simplify. 2019-06-08 15:36:22 +02:00
buffered-read.c bootstrap: Build files only once. 2019-12-07 23:29:34 +01:00
execl.c mescc: Mes C Library: Fix compile warnings. 2019-06-12 15:59:06 +02:00
execlp.c mescc: Mes C Library: Fix execlp, execvp for file names with slash. 2020-01-20 22:47:52 +01:00
execv.c build: Simplify. 2019-06-08 15:36:22 +02:00
execvp.c mescc: Mes C Library: Fix execlp, execvp for file names with slash. 2020-01-20 22:47:52 +01:00
getcwd.c kaem.run: Remove --bootstrap-mode. 2023-05-03 08:03:48 +02:00
getenv.c kaem.run: Remove --bootstrap-mode. 2023-05-03 08:03:48 +02:00
getopt.c getopt: Remove old FSF address, thanks Vagrant. 2019-09-09 16:04:15 +02:00
isatty.c mescc: Mes C Library: Fix isatty for x86_64. 2019-11-23 21:29:36 +01:00
mktemp.c build: Simplify. 2019-06-08 15:36:22 +02:00
open.c lib: posix/open: Support M2-Planet. 2023-05-02 10:22:45 +02:00
raise.c build: Simplify. 2019-06-08 15:36:22 +02:00
sbrk.c build: Simplify. 2019-06-08 15:36:22 +02:00
setenv.c kaem.run: Remove --bootstrap-mode. 2023-05-03 08:03:48 +02:00
sleep.c build: Simplify. 2019-06-08 15:36:22 +02:00
unsetenv.c build: Simplify. 2019-06-08 15:36:22 +02:00
wait.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
write.c mescc: Mes C Library: Have write behave well with buffered reads. 2019-07-28 13:01:37 +02:00