avoid blx instruction which does not exist on armv4t or armv4
authorRich Felker <dalias@aerifal.cx>
Sun, 15 Jul 2012 00:15:02 +0000 (20:15 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 15 Jul 2012 00:15:02 +0000 (20:15 -0400)
src/thread/arm/clone.s

index 127fc0be0fd9731c7ce3a153cfb4e10f62efb1e3..ce372ad335099b8acfce553112d75efff6895ba9 100644 (file)
@@ -31,5 +31,6 @@ clone:
        mov r0,#1
        svc 0
 
-1:     blx r5
+1:     mov lr,pc
+       bx r5
        b 2b