From 0648818bb141cec9a5513933a3129e965250e19c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 16 Mar 2021 12:25:02 +0100 Subject: Cleanup and atexit --- libc/crt/crt0.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/crt') diff --git a/libc/crt/crt0.asm b/libc/crt/crt0.asm index 0f8024d..e002952 100644 --- a/libc/crt/crt0.asm +++ b/libc/crt/crt0.asm @@ -3,13 +3,13 @@ section .text extern main -extern sys1 +extern exit +extern atexit_trigger global _start _start: call main push eax - push 9 - call sys1 + call exit jmp $ -- cgit v1.2.3