shithub: scc

Download patch

ref: c1c79f43a6084eddc83de124b371a8b689e310a6
parent: 9c4c13bcccfc42136fe7650d0e905301268cb3f2
author: Naveen Narayanan <zerous@simple-cc.org>
date: Thu Aug 13 07:46:34 EDT 2020

libc: Add gettimeofday syscall (linux/amd64)

--- a/src/libc/arch/amd64/linux/Makefile
+++ b/src/libc/arch/amd64/linux/Makefile
@@ -13,6 +13,7 @@
 	_read.$O\
 	_write.$O\
 	_brk.$O\
+	_gettimeofday.$O\
 	_sigaction.$O\
 	_unlink.$O\
 
--- a/src/libc/arch/amd64/linux/syscall.lst
+++ b/src/libc/arch/amd64/linux/syscall.lst
@@ -10,3 +10,4 @@
 60	_Exit
 62	_kill
 87	_unlink
+96	_gettimeofday