aboutsummaryrefslogtreecommitdiff
path: root/source/arch/x86_64/src/boot/crtn.s
diff options
context:
space:
mode:
Diffstat (limited to 'source/arch/x86_64/src/boot/crtn.s')
-rw-r--r--source/arch/x86_64/src/boot/crtn.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/arch/x86_64/src/boot/crtn.s b/source/arch/x86_64/src/boot/crtn.s
new file mode 100644
index 0000000..06fb7ce
--- /dev/null
+++ b/source/arch/x86_64/src/boot/crtn.s
@@ -0,0 +1,9 @@
+.code64
+
+.section .init
+ popq %rbp
+ ret
+
+.section .fini
+ popq %rbp
+ ret