aboutsummaryrefslogtreecommitdiff
path: root/libc/crt/crti.asm
diff options
context:
space:
mode:
Diffstat (limited to 'libc/crt/crti.asm')
-rw-r--r--libc/crt/crti.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/crt/crti.asm b/libc/crt/crti.asm
new file mode 100644
index 0000000..394aaea
--- /dev/null
+++ b/libc/crt/crti.asm
@@ -0,0 +1,13 @@
+; MIT License, Copyright (c) 2020 Marvin Borner
+
+section .init
+global _init
+_init:
+ push ebp
+ mov ebp, esp
+
+section .fini
+global _fini
+fini:
+ push ebp
+ mov ebp, esp