mes/lib
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
..
ctype mescc: Mes C Library: Support GNU Awk: Add isgraph. 2019-06-16 11:25:37 +02:00
dirent build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
freebsd freebsd: Initial x86 scaffold. 2019-12-17 21:08:18 +01:00
gnu Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
linux Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02: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 Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
posix mescc: Mes C Library: Fix execlp, execvp for file names with slash. 2020-01-20 22:47:52 +01:00
stdio mescc: Mes C Library: lseek: Be careful clearing read buffer. 2020-01-20 22:47:52 +01:00
stdlib hurd: Add malloc. 2019-12-13 21:52:31 +01:00
string hurd: Fixes for upgrade to debian-hurd-20190220.img. 2019-12-13 21:52:31 +01:00
stub mescc: Mes C Library: Add ioctl3 stub. 2019-12-13 21:52:31 +01:00
tests Prepare tests for ARMv4. 2020-06-02 14:30:02 +02:00
x86-mes build: Prepare for kernel variants. 2019-12-17 21:07:35 +01: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 build: Prepare for kernel variants. 2019-12-17 21:07:35 +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 mescc: Support tcc: libtcc1 build fixes. 2019-07-23 20:38:29 +02:00