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.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/crt/arm/crtn.s b/crt/arm/crtn.s
index 9d7107d0..5d5d6454 100644
--- a/crt/arm/crtn.s
+++ b/crt/arm/crtn.s
@@ -1,9 +1,11 @@
 .section .init
+	pop {lr}
 	tst lr,#1
 	moveq pc,lr
 	bx lr
 
 .section .fini
+	pop {lr}
 	tst lr,#1
 	moveq pc,lr
 	bx lr