avoid blx instruction which does not exist on armv4t or armv4
[musl] / src / thread / arm / clone.s
index 127fc0b..ce372ad 100644 (file)
@@ -31,5 +31,6 @@ clone:
        mov r0,#1
        svc 0
 
-1:     blx r5
+1:     mov lr,pc
+       bx r5
        b 2b