mescc: Produce M1 output instead of hex2.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 2 Jul 2017 14:25:14 +0000 (16:25 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 2 Jul 2017 14:25:14 +0000 (16:25 +0200)
commit83a43b81b3f629e200f63663ed03a1d80d277d9a
tree92fb1af36a4e89c67332513fd4b407fb369f1ca3
parent03ecebd59404f17ddfd40d8fc8ce3198fb51773e
mescc: Produce M1 output instead of hex2.

Use: ./make.scm [TARGET]
     ./make.scm check

* stage0/x86.M1: New file.
* mlibc/mini-libc-mes.c (exit, write): Use M1 instead of .byte.
* mlibc/libc-mes.c (_start, exit, read, write, open, access, brk,
  fsync, printf): Use M1 instead of .byte.
* module/mes/as-i386.mes: Use M1.
* module/mes/make.scm: New file.
* make.scm: New file.
* guile/guix/records.scm: New File.
* guile/guix/shell-utils.scm: New file.
* module/mes/M1.mes: Rename from hex2.mes.
* module/mes/M1.scm: Rename from hex2.scm.
* scripts/mescc.mes: Update callers.
* guile/mescc.scm: Update callers.
25 files changed:
.gitignore
build-aux/compile-all.scm
build-aux/mes-snarf.scm
configure
guile/guix/make.scm [new file with mode: 0644]
guile/guix/records.scm [new file with mode: 0644]
guile/guix/shell-utils.scm [new file with mode: 0644]
guile/mescc.scm
make.scm [new file with mode: 0755]
mlibc/libc-gcc.c
mlibc/libc-mes.c
mlibc/mini-libc-mes.c
module/language/c99/compiler.mes
module/language/c99/compiler.scm
module/mes/M1.mes [new file with mode: 0644]
module/mes/M1.scm [new file with mode: 0644]
module/mes/as-i386.mes
module/mes/as-i386.scm
module/mes/elf.mes
module/mes/elf.scm
module/mes/hex2.mes [deleted file]
module/mes/hex2.scm [deleted file]
scaffold/t.c
scripts/mescc.mes
stage0/x86.M1 [new file with mode: 0644]