summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-02-11 16:36:48 -0800
committerElliott Hughes <enh@google.com>2013-02-11 16:39:10 -0800
commit5e3fc43ddeada547a155c6f561a12ff0b16e02d3 (patch)
tree9becf3a8442387f408f7f9ee73ab06ab7f8865d1 /libc/arch-x86
parent1fea0f258a45d918fe5ae8e9769f45c0348bd095 (diff)
downloadbionic-5e3fc43ddeada547a155c6f561a12ff0b16e02d3.zip
bionic-5e3fc43ddeada547a155c6f561a12ff0b16e02d3.tar.gz
bionic-5e3fc43ddeada547a155c6f561a12ff0b16e02d3.tar.bz2
Fix __pthread_clone on ARM to set errno on failure.
MIPS and x86 appear to have been correct already. (Also fix unit tests that ASSERT_EQ with errno so that the arguments are in the retarded junit order.) Bug: 3461078 Change-Id: I2418ea98927b56e15b4ba9cfec97f5e7094c6291
Diffstat (limited to 'libc/arch-x86')
-rw-r--r--libc/arch-x86/bionic/clone.S5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/arch-x86/bionic/clone.S b/libc/arch-x86/bionic/clone.S
index 54b6ef2..9266f84 100644
--- a/libc/arch-x86/bionic/clone.S
+++ b/libc/arch-x86/bionic/clone.S
@@ -2,10 +2,7 @@
.text
-/*
- * int __pthread_clone(int (*fn)(void*), void *tls, int flags,
- * void *arg);
- */
+// int __pthread_clone(int (*fn)(void*), void* tls, int flags, void* arg);
.globl __pthread_clone
.type __pthread_clone, @function
.align 4