summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-25 09:27:19 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-25 09:27:19 +0000
commit4353f9bef4c341036bc21816c8f011072fafbee5 (patch)
tree840825a49df8b900600b03a76ad4856478ebee67
parent25a49f0ea4fdd47c99e5a5731dc746be6faf0829 (diff)
downloadglibc-4353f9bef4c341036bc21816c8f011072fafbee5.tar.gz
glibc-4353f9bef4c341036bc21816c8f011072fafbee5.tar.xz
glibc-4353f9bef4c341036bc21816c8f011072fafbee5.zip
Correct error check again.
-rw-r--r--sysdeps/unix/sysv/linux/arm/clone.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/clone.S b/sysdeps/unix/sysv/linux/arm/clone.S
index 46359e8362..94aed12b47 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]