mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[libc] Bring libc in-tree
Moving libc from its separate repo into this one, minor resulting build fixes, and a hacky way to add -I for libc headers in builds.
This commit is contained in:
5
src/libraries/libc/arch/x86_64/_Exit.s
Normal file
5
src/libraries/libc/arch/x86_64/_Exit.s
Normal file
@@ -0,0 +1,5 @@
|
||||
global _PDCLIB_Exit
|
||||
_PDCLIB_Exit:
|
||||
; arg should already be in rdi
|
||||
mov rax, 0x11 ; Exit syscall
|
||||
syscall
|
||||
Reference in New Issue
Block a user