mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Correct error check again.
This commit is contained in:
parent
25a49f0ea4
commit
4353f9bef4
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user