diff options
author | Marvin Borner | 2021-03-26 21:55:50 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-26 22:02:20 +0100 |
commit | 05498860e8f7b1e8bb27880bc7526de026694804 (patch) | |
tree | 3bddf16e9439a950a3810d45e42a5cefdbcb7663 /libs/libc/crt/crt0.asm | |
parent | a96e9c4c858d47f61b89d879aa0ce6a02bdacb38 (diff) |
Renamed libs
Cleaner and more flexible.
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 $ |