summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-14 20:15:02 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-14 20:15:02 -0400
commit7be3b5a073e77f1147acfa728725f9f81d20ceb0 (patch)
tree386cb553e96114fccdf89122edb95f017a6467e5 /src/thread
parent649cec5f9868070b4d350b861ee7f68b03a552a8 (diff)
downloadmusl-7be3b5a073e77f1147acfa728725f9f81d20ceb0.tar.gz
avoid blx instruction which does not exist on armv4t or armv4
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/arm/clone.s3
1 files changed, 2 insertions, 1 deletions
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