Explorar o código

avoid blx instruction which does not exist on armv4t or armv4

Rich Felker %!s(int64=12) %!d(string=hai) anos
pai
achega
7be3b5a073
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/thread/arm/clone.s

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

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