mes/build-aux
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
..
bootstrap.sh.in build: Cater for FreeBSD. 2019-12-17 21:08:18 +01:00
build-guile.sh build: Simplify. 2019-06-08 15:36:22 +02:00
build-lib.sh Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
build-mes.sh Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
build-scaffold.sh build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
build-source-lib.sh build: Split-out build-source-lib.sh from build-lib.sh. 2019-09-20 19:40:37 +02:00
build.sh.in build: Support bootstrapping using build.sh. 2020-01-20 22:47:52 +01:00
cc.sh build: Cater for FreeBSD. 2019-12-17 21:08:18 +01:00
cflags.sh Support and pass "-marm". 2020-06-02 14:35:16 +02:00
check-boot.sh check: Remove duplicate test. 2019-10-03 22:17:50 +02:00
check-mes.sh build: Use bash if available to avoid dash problems. 2019-06-25 21:40:43 +02:00
check-mescc.sh hurd: Add _write. 2019-12-13 21:52:30 +01:00
check.sh.in Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
config.make.in build: Have configure respect GUILE_LOAD_PATH for mes to find Nyacc. 2020-01-20 22:47:52 +01:00
config.sh.in build: Have configure respect GUILE_LOAD_PATH for mes to find Nyacc. 2020-01-20 22:47:52 +01:00
configure-lib.sh Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
export.make build: Cater for bootstrap build. 2019-12-13 21:52:18 +01:00
gendocs.sh build: web: New target. 2018-07-28 11:37:47 +02:00
gitlog-to-changelog build: Generate ChangeLog reproducibly. Thanks, Timothy! 2019-12-13 21:52:29 +01:00
GNUmakefile.in Release 0.22. 2020-01-20 22:47:53 +01:00
indent.sh mes: Grand indent: prepare. 2019-05-13 01:07:32 +02:00
install.sh.in build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
manifest.scm guix: Update packaging. 2019-09-09 16:04:16 +02:00
mes-snarf.scm mes-snarf: rewrite for development-time snarfing 2019-02-03 20:59:51 +01:00
pre-inst-env.in build: Cater for bootstrap build. 2019-12-13 21:52:18 +01:00
setup-mes.sh Add missing copyright headers. 2018-07-23 19:10:34 +02:00
snarf.sh mes: Rename strings.c. 2019-05-14 08:37:05 +02:00
test-boot.sh build: Simplify. 2019-06-08 15:36:22 +02:00
test-c.sh Introduce libmescc.a; Put division by integer in there; split syscalls' errno off. 2020-06-02 15:04:13 +02:00
test-driver build: Simplify. 2019-06-08 15:36:22 +02:00
test-suite.sh build: Use bash if available to avoid dash problems. 2019-06-25 21:40:43 +02:00
trace.sh build: Simplify. 2019-06-08 15:36:22 +02:00
uninstall.sh.in build: Simplify. 2019-06-08 15:36:22 +02:00