diff options
Diffstat (limited to 'libs/libc/crt/crt0.asm')
-rw-r--r-- | libs/libc/crt/crt0.asm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/libc/crt/crt0.asm b/libs/libc/crt/crt0.asm new file mode 100644 index 0000000..e002952 --- /dev/null +++ b/libs/libc/crt/crt0.asm @@ -0,0 +1,15 @@ +; MIT License, Copyright (c) 2020 Marvin Borner + +section .text + +extern main +extern exit +extern atexit_trigger + +global _start +_start: + call main + + push eax + call exit + jmp $ |