am 4912782c: Merge "Really set errno if __pthread_clone fails."
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '4912782c6af7169686acc9553fb0bb33251b0d0d':
Really set errno if __pthread_clone fails.
diff --git a/libc/arch-arm/bionic/clone.S b/libc/arch-arm/bionic/clone.S
index 6bd6bdf..39bd79d 100644
--- a/libc/arch-arm/bionic/clone.S
+++ b/libc/arch-arm/bionic/clone.S
@@ -47,7 +47,7 @@
# In parent, reload saved registers then either exit or set errno.
ldmfd sp!, {r4, r7}
- bxne lr
+ bxpl lr
b __set_syscall_errno
1: # The child.
@@ -96,7 +96,7 @@
# In the parent, reload saved registers then either exit or set errno.
ldmfd sp!, {r4, r5, r6, r7}
- bxne lr
+ bxpl lr
b __set_syscall_errno
1: # The child.