From 5e3fc43ddeada547a155c6f561a12ff0b16e02d3 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 11 Feb 2013 16:36:48 -0800 Subject: 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 --- libc/arch-x86/bionic/clone.S | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/arch-x86') 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 -- cgit v1.1