shithub: scc

Download patch

ref: d481312cf28aa0d662f5699c33e6f1f4c0061bee
parent: 351881313c73f9276a102d1508ca59e3cc8ad7b1
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Oct 17 13:59:59 EDT 2018

[lib/c] Fix syscall.lst of linux

The commit e1143f284b modified accidentaly this file
and the syscall numbers were wrong.

--- a/lib/c/target/amd64-sysv-linux/syscall.lst
+++ b/lib/c/target/amd64-sysv-linux/syscall.lst
@@ -1,11 +1,11 @@
 #number	name
-1	_Exit
-3	_read
-4	_write
-5	_open
-6	_close
-17	_brk
-20	_getpid
-37	_kill
-46	_sigaction
-199	_lseek
+0	_read
+1	_write
+2	_open
+3	_close
+3	_lseek
+12	_brk
+13	_sigaction
+38	_getpid
+60	_Exit
+32	_kill