dynamic linker bootstrap overhaul
[musl] / crt / arm / crti.s
index 0dd978a..1ba165c 100644 (file)
@@ -1,9 +1,11 @@
 .section .init
 .global _init
+.type _init,%function
 _init:
-       push {lr}
+       push {r0,lr}
 
 .section .fini
 .global _fini
+.type _fini,%function
 _fini:
-       push {lr}
+       push {r0,lr}