shithub: scc

Download patch

ref: 5ab530921869757d383d44ab7918d7080489587f
parent: d9f166d27405597b2267a203d0e9ae660a963334
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Mar 8 05:31:52 EST 2017

[libc-amd64-linux] Map _Exit() to SYS_EXIT

--- a/libc/src/sys/amd64-linux/Makefile
+++ b/libc/src/sys/amd64-linux/Makefile
@@ -4,7 +4,7 @@
 include ../../../../config.mk
 
 OBJ_GEN = _read.o _write.o _open.o _close.o _lseek.o _brk.o\
-          _rt_sigaction.o _getpid.o _exit.o _kill.o
+          _rt_sigaction.o _getpid.o _Exit.o _kill.o
 
 ASM_GEN = $(OBJ_GEN:.o=.s)
 OBJ = $(OBJ_GEN)
--- a/libc/src/sys/amd64-linux/syscall.lst
+++ b/libc/src/sys/amd64-linux/syscall.lst
@@ -7,5 +7,5 @@
 12	_brk
 13	_rt_sigaction
 38	_getpid
-60	_exit
+60	_Exit
 32	_kill