From: Ulrich Drepper Date: Mon, 25 Jan 1999 09:27:19 +0000 (+0000) Subject: Correct error check again. X-Git-Tag: glibc-2.16-ports-before-merge~2948 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6e4428cea134a8aa1d2612fdd44d48dd7a938f7;p=thirdparty%2Fglibc.git Correct error check again. --- diff --git a/sysdeps/unix/sysv/linux/arm/clone.S b/sysdeps/unix/sysv/linux/arm/clone.S index 46359e83623..94aed12b47c 100644 --- a/sysdeps/unix/sysv/linux/arm/clone.S +++ b/sysdeps/unix/sysv/linux/arm/clone.S @@ -41,13 +41,13 @@ ENTRY(__clone) str r0, [r1] @ do the system call - @ get flags + @ get flags mov r0, r2 @ new sp is already in r1 swi SYS_ify(clone) - cmn a1, $4096 - bhs PLTJMP(C_SYMBOL_NAME(__syscall_error)) - RETINSTR(movne,pc,lr) + movs a1, a1 + blt PLTJMP(C_SYMBOL_NAME(__syscall_error)) + RETINSTR(movne, pc, lr) @ pick the function arg and call address off the stack and execute ldr r0, [sp, #4]