55d38162be
* 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. |
||
---|---|---|
.. | ||
arm-mes-gcc | ||
arm-mes-mescc | ||
x86-mes | ||
x86-mes-gcc | ||
x86-mes-mescc | ||
x86_64-mes | ||
x86_64-mes-gcc | ||
x86_64-mes-mescc | ||
_getcwd.c | ||
_open3.c | ||
_read.c | ||
access.c | ||
brk.c | ||
chdir.c | ||
chmod.c | ||
clock_gettime.c | ||
close.c | ||
dup.c | ||
dup2.c | ||
execve.c | ||
fcntl.c | ||
fork.c | ||
fstat.c | ||
fsync.c | ||
getdents.c | ||
getegid.c | ||
geteuid.c | ||
getgid.c | ||
getpid.c | ||
getppid.c | ||
getrusage.c | ||
gettimeofday.c | ||
getuid.c | ||
ioctl.c | ||
kill.c | ||
link.c | ||
lseek.c | ||
lstat.c | ||
mkdir.c | ||
mknod.c | ||
nanosleep.c | ||
pipe.c | ||
read.c | ||
readlink.c | ||
rename.c | ||
rmdir.c | ||
setgid.c | ||
settimer.c | ||
setuid.c | ||
signal.c | ||
sigprogmask.c | ||
stat.c | ||
symlink.c | ||
time.c | ||
unlink.c | ||
waitpid.c |