mescc: Mes C Library: Add x86_64 libc support.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 11 Aug 2018 09:42:30 +0000 (11:42 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 11 Aug 2018 09:42:30 +0000 (11:42 +0200)
commit5a6d8c21e09faee0bcff2aab4994c778de921b80
treee88b3f7a529cad43b2323592ab659f5558d4cb0d
parent46e0641e9c718fa39e3be4fd83d3fe53598e6c77
mescc: Mes C Library: Add x86_64 libc support.

* include/linux/x86_64/syscall.h: New file.
* include/linux/x86/syscall.h: New file.
* lib/linux/x86_64-mes-gcc/mes.c: New file.
* lib/linux/x86-mes/mes.c: Rename from lib/linux/mes.c.
* lib/linux/x86-mes-gcc/mes.c: Rename from lib/linux/gcc.c.
* lib/linux/libc.c: Update includes.
(waitpid)[__x86_64__]: Use wait4.
* build-aux/build-cc.sh: Build libc too.
* lib/x86-mes/x86.M1 (mov____0x8(%ebp),%esi): New macro.
15 files changed:
build-aux/build-cc.sh
include/linux/x86/syscall.h [new file with mode: 0644]
include/linux/x86_64/syscall.h [new file with mode: 0644]
lib/libmes.c
lib/linux/gcc.c [deleted file]
lib/linux/gnu.c
lib/linux/libc.c
lib/linux/mes.c [deleted file]
lib/linux/tcc.c
lib/linux/x86-mes-gcc/mes.c [new file with mode: 0644]
lib/linux/x86-mes/mes.c [new file with mode: 0644]
lib/linux/x86_64-mes-gcc/mes.c [new file with mode: 0644]
lib/x86-mes/x86.M1
src/gc.c
src/mes.c