Browse Source

avoid blx instruction which does not exist on armv4t or armv4

Rich Felker 12 years ago
parent
commit
7be3b5a073
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/thread/arm/clone.s

+ 2 - 1
src/thread/arm/clone.s

@@ -31,5 +31,6 @@ clone:
 	mov r0,#1
 	mov r0,#1
 	svc 0
 	svc 0
 
 
-1:	blx r5
+1:	mov lr,pc
+	bx r5
 	b 2b
 	b 2b