mes/lib
W. J. van der Laan 04e6fdad13 lib: General Linux RISC-V64 syscall support.
* include/linux/riscv32/kernel-stat.h,
include/linux/riscv64/kernel-stat.h: New files.
* include/fcntl.h (AT_FDCWD, AT_SYMLINK_NOFOLLOW, AT_REMOVEDIR): Add
necessary constants.
* include/stdint.h: Integer size defines for RISC-V.
* include/sys/stat.h: "stat" struct for RISC-V.
* lib/linux/_open3.c (_open3)[!SYS_open]: Use SYS_openat.
* lib/linux/access.c (access)[!SYS_access]: Use SYS_faccessat.
* lib/linux/chmod.c (chmod)[!SYS_chmod]: Use SYS_fchmodat.
* lib/linux/dup2.c (dup2)[!SYS_dup2]: Use if SYS_dup3.
* lib/linux/fork.c (fork)[!SYS_fork]: Use SYS_clone.
* lib/linux/getdents.c (getdents)[!SYS_getdents]: Use SYS_getdents64.
* lib/linux/link.c (link)[!SYS_link]: Use SYS_linkat.
* lib/linux/lstat.c (lstat)[!SYS_lstat]: Use SYS_newfstatat.
* lib/linux/mkdir.c (mkdir)[!SYS_mkdir]: Use SYS_mkdirat.
* lib/linux/mknod.c (mknod)[!SYS_mknod]: Use SYS_mknodat.
* lib/linux/pipe.c (pipe)[!SYS_pipe]: Use SYS_pipe2.
* lib/linux/readlink.c (readlink)[!SYS_readlinkat]: Use SYS_readlinkat.
* lib/linux/rename.c (rename)[!SYS_rename]: Use SYS_renameat2.
* lib/linux/rmdir.c (rmdir)[!SYS_rmdir]: Use SYS_unlinkat.
* lib/linux/signal.c (_restorer_for_siginfo): Remove unused function
that causes compilation issue.
* lib/linux/stat.c (stat)[!SYS_stat]: Use SYS_newfstatat.
* lib/linux/symlink.c (symlink)[!SYS_symlinkat]: Use SYS_symlink.
* lib/linux/unlink.c (unlink)[!SYS_unlink]: Use SYS_unlinkat.
2023-11-05 09:39:29 +01:00
..
arm-mes ARM: Fix unsigned modulo. 2022-09-12 09:47:28 +02:00
arm-mes-gcc mescc: Mes C Library: ARM: setjmp.c: Inline fake asm. 2021-01-23 08:43:46 +01:00
arm-mes-mescc Implement setjmp for ARM mescc. 2020-06-12 23:20:17 +02:00
ctype lib: Support uppercase hex conversions. 2023-01-31 08:22:49 -08:00
dirent build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
freebsd mescc: Mes C Library: crt: Support more than 255 command line parameters. 2021-05-02 14:22:21 +02:00
gnu mescc: Mes C Library: Split _exit.c, _write.c from mini.c. 2021-01-23 08:43:45 +01:00
linux lib: General Linux RISC-V64 syscall support. 2023-11-05 09:39:29 +01:00
m2 lib: Fix x86_64 M2 elf header to work with debug info. 2023-11-05 09:36:26 +01:00
mach hurd: Fixes for upgrade to debian-hurd-20190220.img. 2019-12-13 21:52:31 +01:00
math mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
mes lib: __assert_fail: Remove M2-Planet workarounds. 2023-05-03 08:04:32 +02:00
posix core: Move M2_PTR_SIZE, M2_CELL_SIZE to include file. 2023-05-03 08:04:32 +02:00
riscv64-mes-gcc lib: Base riscv64-mes-gcc support (dummy setjmp). 2023-11-05 09:39:29 +01:00
stdio lib: Fix compile warnings. 2023-02-12 23:02:24 +01:00
stdlib kaem: read: Remove --bootstrap-mode. 2023-05-02 10:22:45 +02:00
string Mes C Library: memchr: Avoid compile warning. 2022-04-30 16:40:57 +02:00
stub kaem.run: Remove --bootstrap-mode. 2023-05-03 08:03:48 +02:00
tests DRAFT test: Add 68-truncate-shift. 2023-11-05 09:38:57 +01:00
x86-mes kaem: scaffold/argv.kaem. 2020-07-15 22:15:36 +02:00
x86-mes-gcc build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
x86-mes-mescc build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
x86_64-mes x86_64: build: Cater for M2-Planet. 2023-11-05 09:36:26 +01:00
x86_64-mes-gcc build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
x86_64-mes-mescc build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
libtcc1.c libtcc1: Fix integer division, modulo and shifting procedures. 2021-03-14 11:05:00 +01:00