mescc: Nyacc updates, factor-out elf-util.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 2 Apr 2017 09:55:37 +0000 (11:55 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 2 Apr 2017 09:55:37 +0000 (11:55 +0200)
commiteb3fed2a00140b79ae44669995e6217520582a04
tree8c8e898aa2429fc2450c26061f5423649118b553
parent7ec42c3cc72ef30b5991ce3abb92b3f17b502eea
mescc: Nyacc updates, factor-out elf-util.

* module/mes/bytevectors.mes
* module/mes/elf-util.mes: New file.
* module/mes/elf.mes: Use it.
  (make-elf): Generate symbol-table string-table.
* module/mes/elf-util.scm: New file.
* module/mes/elf.scm: Use it.
* module/language/c99/compiler.mes: Include it.
* module/language/c99/compiler.scm: Include it.
* module/mes/libc-i386.mes (call, eputs, exit, puts): New functions.
* module/mes/libc-i386.scm: Export them.
module/language/c99/compiler.mes
module/language/c99/compiler.scm
module/mes/elf-util.mes [new file with mode: 0644]
module/mes/elf-util.scm [new file with mode: 0644]
module/mes/elf.mes
module/mes/elf.scm
module/mes/libc-i386.mes
module/mes/libc-i386.scm