about summary refs log tree commit diff
path: root/crt/arm/crtn.s
diff options
context:
space:
mode:
Diffstat (limited to 'crt/arm/crtn.s')
-rw-r--r--crt/arm/crtn.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/crt/arm/crtn.s b/crt/arm/crtn.s
new file mode 100644
index 00000000..9d7107d0
--- /dev/null
+++ b/crt/arm/crtn.s
@@ -0,0 +1,9 @@
+.section .init
+	tst lr,#1
+	moveq pc,lr
+	bx lr
+
+.section .fini
+	tst lr,#1
+	moveq pc,lr
+	bx lr