From 7be3b5a073e77f1147acfa728725f9f81d20ceb0 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 14 Jul 2012 20:15:02 -0400 Subject: [PATCH] avoid blx instruction which does not exist on armv4t or armv4 --- src/thread/arm/clone.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/thread/arm/clone.s b/src/thread/arm/clone.s index 127fc0be..ce372ad3 100644 --- a/src/thread/arm/clone.s +++ b/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 -- 2.25.1