summaryrefslogtreecommitdiffstats
path: root/lib/crt/x86_64/crti.s
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crt/x86_64/crti.s')
-rw-r--r--lib/crt/x86_64/crti.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/crt/x86_64/crti.s b/lib/crt/x86_64/crti.s
new file mode 100644
index 0000000..0f06273
--- /dev/null
+++ b/lib/crt/x86_64/crti.s
@@ -0,0 +1,11 @@
+.section .init
+.global _init
+_init:
+ pushq %rbp
+ movq %rsp, %rbp
+
+.section .fini
+.global _fini
+_fini:
+ pushq %rbp
+ movq %rsp, %rbp