mescc: Remove ELF creation, handled by hex2 now.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 25 Jun 2017 07:26:25 +0000 (09:26 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 25 Jun 2017 07:26:25 +0000 (09:26 +0200)
commitc44df4ed8a69a5753803d2403a4edf5276acb30a
tree4889bc89602d6e3ed4a48929bd149ee7b31f1221
parent1de0f33020cd3541a0efd5a44fcf44b1de522746
mescc: Remove ELF creation, handled by hex2 now.

* module/language/c99/compiler.scm (make-global, global:type,
  global:pointer, global:value): Move from elf-util.mes
* module/mes/as.mes: New file.
* module/mes/as-i386.mes: Use it.
* module/mes/as-i386.scm: Use it.
* module/mes/elf-util.mes: Remove.
* module/mes/elf.mes (elf32-addr, elf32-half, elf32-off, elf32-word,
  make-elf, write-any, object->elf): Remove
  (hex2->elf): New function with dummy implementation.
* module/mes/elf.scm: Update exports.
* module/mes/hex2.mes (object->elf): New function.
* module/mes/hex2.scm: Export it.
12 files changed:
module/language/c99/compiler.mes
module/language/c99/compiler.scm
module/mes/as-i386.mes
module/mes/as-i386.scm
module/mes/as.mes [new file with mode: 0644]
module/mes/as.scm [new file with mode: 0644]
module/mes/elf-util.mes [deleted file]
module/mes/elf-util.scm [deleted file]
module/mes/elf.mes
module/mes/elf.scm
module/mes/hex2.mes
module/mes/hex2.scm