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