Correct error check again.

This commit is contained in:
Ulrich Drepper 1999-01-25 09:27:19 +00:00
parent 61f5bb0159
commit f6e4428cea

View File

@ -41,13 +41,13 @@ ENTRY(__clone)
str r0, [r1] str r0, [r1]
@ do the system call @ do the system call
@ get flags @ get flags
mov r0, r2 mov r0, r2
@ new sp is already in r1 @ new sp is already in r1
swi SYS_ify(clone) swi SYS_ify(clone)
cmn a1, $4096 movs a1, a1
bhs PLTJMP(C_SYMBOL_NAME(__syscall_error)) blt PLTJMP(C_SYMBOL_NAME(__syscall_error))
RETINSTR(movne,pc,lr) RETINSTR(movne, pc, lr)
@ pick the function arg and call address off the stack and execute @ pick the function arg and call address off the stack and execute
ldr r0, [sp, #4] ldr r0, [sp, #4]