mes/lib/linux
Jan (janneke) Nieuwenhuizen 11d024e097
kaem.run: Remove --bootstrap-mode.
* include/linux/arm/syscall.h,
include/linux/x86/syscall.h,
include/mes/constants.h: Remove CONSTANTs.
* include/sys/types.h (EOF): Change to 0xffffffff,
reps. 0xffffffffffffffff for M2-Planet.
* 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/posix.c: Likewise.
* src/symbol.c: Likewise.
* src/vector.c: Likewise.
* 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.
2022-05-03 14:45:55 +02: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 mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
_open3.c kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00
_read.c mescc: Mes C Library: Move posix bits to read. 2019-06-25 01:58:15 +02:00
access.c mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
brk.c mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
chdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
chmod.c mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
clock_gettime.c mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
close.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
dup.c mescc: Mes C Library: Prepare for M2-Planet: dup. 2020-07-25 19:54:02 +02:00
dup2.c mescc: Mes C Library: Prepare for M2-Planet: dup2. 2020-07-25 19:54:16 +02:00
execve.c Revert "Mes C Library: m2/execve.c: Remove specialization." 2021-01-02 10:00:35 +01:00
fcntl.c build: Simplify. 2019-06-08 15:36:22 +02:00
fork.c build: Simplify. 2019-06-08 15:36:22 +02:00
fstat.c build: Simplify. 2019-06-08 15:36:22 +02:00
fsync.c build: Simplify. 2019-06-08 15:36:22 +02:00
getdents.c build: Simplify. 2019-06-08 15:36:22 +02:00
getegid.c build: Simplify. 2019-06-08 15:36:22 +02:00
geteuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getgid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getpid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getppid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getrusage.c build: Simplify. 2019-06-08 15:36:22 +02:00
gettimeofday.c mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
getuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
ioctl.c Mes C Library: m2/ioctl.c: Remove specialization. 2020-12-29 18:41:45 +01:00
ioctl3.c Mes C Library: m2/ioctl.c: Remove specialization. 2020-12-29 18:41:45 +01:00
kill.c build: Simplify. 2019-06-08 15:36:22 +02:00
link.c build: Simplify. 2019-06-08 15:36:22 +02:00
lseek.c kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00
lstat.c build: Simplify. 2019-06-08 15:36:22 +02:00
malloc.c kaem: read: Remove --bootstrap-mode. 2022-05-03 12:54:22 +02:00
mkdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
mknod.c mescc: Mes C Library: Support GNU Tar: Add creat, mknod. 2019-07-12 11:56:58 +02:00
nanosleep.c build: Simplify. 2019-06-08 15:36:22 +02:00
open.c kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00
pipe.c build: Simplify. 2019-06-08 15:36:22 +02:00
read.c kaem: read: Remove --bootstrap-mode. 2022-05-03 12:54:22 +02:00
readlink.c mescc: Mes C Library: Support GNU Tar: Add readlink, symlink. 2019-06-13 01:07:19 +02:00
rename.c build: Simplify. 2019-06-08 15:36:22 +02:00
rmdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
setgid.c build: Simplify. 2019-06-08 15:36:22 +02:00
settimer.c build: Simplify. 2019-06-08 15:36:22 +02:00
setuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
signal.c mescc: Mes C Library: Whitespace fixes. 2020-10-06 10:04:42 +02:00
sigprogmask.c build: Simplify. 2019-06-08 15:36:22 +02:00
stat.c build: Simplify. 2019-06-08 15:36:22 +02:00
symlink.c mescc: Mes C Library: Support GNU Tar: Add readlink, symlink. 2019-06-13 01:07:19 +02:00
time.c mescc: Mes C Library: time.c: Use #if defined. 2021-01-23 08:43:47 +01:00
unlink.c mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
waitpid.c kaem.run: Remove --bootstrap-mode. 2022-05-03 14:45:55 +02:00