mes/lib
Jan Nieuwenhuizen 784838e368
hurd: Initial support.
This adds minimal Hurd support by implementing the _exit function.

* AUTHORS: Update.
* .gitignore: Ignore a.out, core, .config.
* include/sys/wait.h (W_EXITCODE): New define.
* lib/gnu/x86-mes-gcc/crt1.c: New file.
* lib/gnu/x86-mes-gcc/mini.c: New file.
* lib/gnu/hurd-start.c: New file.
* lib/gnu/_exit.c: New file.
* include/gnu/syscall.h: New file.
* include/gnu/hurd.h: New file.
* lib/gnu/_exit.c: New file.
* lib/gnu/exec-startup-get-data.c: New file.
* lib/gnu/hurd-start.c: New file.
* lib/gnu/proc-mark-exit.c: New file.
* lib/gnu/syscall.c: New file.
* lib/gnu/task-get-special-port.c: New file.
* lib/gnu/task-terminate.c: New file.
* lib/gnu/vm-statistics.c: New file.
* build-aux/configure-lib.sh (libc_mini_SOURCES): Add Hurd sources.
* build-aux/build.sh.in (CPPFLAGS): Add lib to includes, to find linux
crt1.c.
* build-aux/test-c.sh: Always use at least -l c+mini for GNU.
* lib/tests/scaffold/30-exit-42.exit: New file.
* lib/tests/scaffold/30-exit-42.c: New test.
* build-aux/check-mescc.sh (TESTS): Add it.
* lib/tests/scaffold/30-exit-0.c (main): Move from 00-exit-0.c; Rewrite,
use _exit.
* include/gnu/hurd-types.h: Import from GNU C Library.
* include/mach/mach-init.h: Likewise.
* lib/mach/mach-init.c: Likewise.
* lib/mach/mach_host_self.S: Likewise.
* lib/mach/mach_msg_trap.S: Likewise.
* lib/mach/mach_reply_port.S: Likewise.
* lib/mach/mach_task_self.S: Likewise.
* lib/mach/mach_thread_self.S: Likewise.
* lib/mach/msg.c: Likewise.
2019-12-13 21:52:29 +01:00
..
ctype mescc: Mes C Library: Support GNU Awk: Add isgraph. 2019-06-16 11:25:37 +02:00
dirent build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
gnu hurd: Initial support. 2019-12-13 21:52:29 +01:00
linux mescc: Mes C Library: Fix isatty for x86_64. 2019-11-23 21:29:36 +01:00
mach hurd: Initial support. 2019-12-13 21:52:29 +01:00
math mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
mes bootstrap: Build files only once. 2019-12-07 23:29:34 +01:00
posix bootstrap: Build files only once. 2019-12-07 23:29:34 +01:00
stdio mescc: Mes C Library: Support gcc-4.6.4: vfprintf, vsnprintf: pad with space. 2019-09-20 14:44:31 +02:00
stdlib Add missing #include. 2019-08-27 01:46:57 +02:00
string mescc: Mes C Library: Fix compile warnings. 2019-06-12 15:59:06 +02:00
stub mescc: Mes C Library: Support gcc-4.6.4: Fix ctime stub. 2019-11-23 21:35:05 +01:00
tests hurd: Initial support. 2019-12-13 21:52:29 +01:00
x86-mes porting: Add x86 scaffold: exit and write in assembly. 2019-06-13 14:19:59 +02:00
x86-mes-gcc porting: Add x86 scaffold: exit and write in assembly. 2019-06-13 14:19:59 +02:00
x86-mes-mescc build: Add mescc scaffold for regular build. 2019-12-06 19:53:50 +01:00
x86_64-mes porting: Add x86_64 scaffold: exit and write in assembly. 2019-06-23 21:23:34 +02:00
x86_64-mes-gcc porting: Add x86_64 scaffold: exit and write in assembly. 2019-06-23 21:23:34 +02:00
x86_64-mes-mescc build: Add mescc scaffold for regular build. 2019-12-06 19:53:50 +01:00
libtcc1.c mescc: Support tcc: libtcc1 build fixes. 2019-07-23 20:38:29 +02:00