mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[libc] Remove old libc
Removing the very old PDCLib-based libc, in preparation for adding the new one.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
extern j6_process_exit
|
||||
global _PDCLIB_Exit
|
||||
_PDCLIB_Exit:
|
||||
; arg should already be in rdi
|
||||
jmp j6_process_exit
|
||||
@@ -1,17 +0,0 @@
|
||||
extern main
|
||||
extern exit
|
||||
extern _init_libj6
|
||||
|
||||
global _start:function (_start.end - _start)
|
||||
_start:
|
||||
mov rbp, rsp
|
||||
mov rdi, rsp
|
||||
call _init_libj6
|
||||
|
||||
pop rdi
|
||||
mov rsi, rsp
|
||||
call main
|
||||
|
||||
mov rdi, rax
|
||||
call exit
|
||||
.end:
|
||||
Reference in New Issue
Block a user