aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/managarm/aarch64/crt-src/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/sysdeps/managarm/aarch64/crt-src/crtn.S')
-rw-r--r--lib/mlibc/sysdeps/managarm/aarch64/crt-src/crtn.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/mlibc/sysdeps/managarm/aarch64/crt-src/crtn.S b/lib/mlibc/sysdeps/managarm/aarch64/crt-src/crtn.S
new file mode 100644
index 0000000..005d870
--- /dev/null
+++ b/lib/mlibc/sysdeps/managarm/aarch64/crt-src/crtn.S
@@ -0,0 +1,11 @@
+ .ident "aarch64-managarm-mlibc crtn"
+
+ .section .init
+ ldp x29, x30, [sp], #16
+ ret
+
+ .section .fini
+ ldp x29, x30, [sp], #16
+ ret
+
+ .section .note.GNU-stack,"",%progbits