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.
This commit is contained in:
Elliott Hughes
2013-02-12 16:23:25 -08:00
committed by Android Git Automerger

View File

@@ -47,7 +47,7 @@ ENTRY(__pthread_clone)
# 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 @@ ENTRY(__bionic_clone)
# 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.