mes/lib/gnu
Danny Milosavljevic 55d38162be
Introduce libmescc.a; Put division by integer in there; split syscalls' errno off.
* build-aux/configure-lib.sh (libmescc_SOURCES): Add lib/mes/div.c,
lib/linux/*/syscall-internal.c.
* build-aux/build-lib.sh: Add libmescc.a.
* build-aux/build-mes.sh: On gcc, add "-lmescc".
* build-aux/test-c.sh: Add "-lmescc".
* build-aux/check.sh.in: Add mescc to LIBS.
* module/mescc/mescc.scm (mescc:link): Add "mescc".
* module/mescc.scm (mescc:main): Update documentation of "-nodefaultlibs"
and "-nostdlib".
* lib/mes/div.c (ldiv): Rename to...
(__mesabi_ldiv): ...this.  Avoid assert.
(__mesabi_div0): Avoid assert.
(__aeabi_idivmod): New procedure.
(__aeabi_idiv): New procedure.
(__aeabi_uidivmod): New procedure.
(__aeabi_uidiv): New procedure.
* lib/linux/x86-mes-gcc/syscall.c (__sys_call, __sys_call1, __sys_call2,
__sys_call3, __sys_call4): Move to...
* lib/linux/x86-mes-gcc/syscall-internal.c: ...here.
(__raise): New procedure.
* lib/linux/x86-mes-mescc/syscall.c (__sys_call, __sys_call1, __sys_call2,
__sys_call3, __sys_call4): Move to...
* lib/linux/x86-mes-mescc/syscall-internal.c: ...here.
(__raise): New procedure.
* lib/linux/arm-mes-gcc/syscall.c: New file.
* lib/linux/arm-mes-gcc/syscall-internal.c: New file.
* lib/linux/arm-mes-mescc/syscall.c: New file.
* lib/linux/arm-mes-mescc/syscall-internal.c: New file.
* lib/gnu/syscall.c (__syscall, __syscall2, __syscall_get, __syscall_put):
Move to...
* lib/gnu/syscall-internal.c: ...here.
2020-06-02 15:04:13 +02:00
..
x86-mes-gcc hurd: Add malloc. 2019-12-13 21:52:31 +01:00
_exit.c hurd: Fixes for upgrade to debian-hurd-20190220.img. 2019-12-13 21:52:31 +01:00
_open3.c hurd: Add open. 2019-12-13 21:52:30 +01:00
_read.c hurd: Add _read. 2019-12-13 21:52:30 +01:00
_write.c hurd: Add _write. 2019-12-13 21:52:30 +01:00
dir-lookup.c hurd: Add open. 2019-12-13 21:52:30 +01:00
exec-startup-get-data.c hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
fd-get.c hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
fd-read.c hurd: Add _read. 2019-12-13 21:52:30 +01:00
fd-write.c hurd: Add _write. 2019-12-13 21:52:30 +01:00
hurd-start.c hurd: Fixes for upgrade to debian-hurd-20190220.img. 2019-12-13 21:52:31 +01:00
io-read.c hurd: Add _read. 2019-12-13 21:52:30 +01:00
io-write.c hurd: Add open. 2019-12-13 21:52:30 +01:00
malloc.c hurd: Add malloc. 2019-12-13 21:52:31 +01:00
proc-mark-exit.c hurd: Initial support. 2019-12-13 21:52:29 +01:00
syscall-internal.c Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
syscall.c Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
task-get-special-port.c hurd: Initial support. 2019-12-13 21:52:29 +01:00
task-terminate.c hurd: Initial support. 2019-12-13 21:52:29 +01:00
vm-allocate.c hurd: Add malloc. 2019-12-13 21:52:31 +01:00
vm-statistics.c hurd: Initial support. 2019-12-13 21:52:29 +01:00