2014-02-06 01:59:23 +01:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2014-02-19 23:54:31 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2014-02-06 01:59:23 +01:00
|
|
|
|
2014-02-19 23:54:31 +01:00
|
|
|
ENTRY(wait4)
|
2014-02-06 01:59:23 +01:00
|
|
|
.set push
|
|
|
|
.set noreorder
|
2017-10-13 22:22:24 +02:00
|
|
|
li $v0, __NR_wait4
|
2014-02-06 01:59:23 +01:00
|
|
|
syscall
|
2017-10-13 22:22:24 +02:00
|
|
|
bnez $a3, 1f
|
|
|
|
move $a0, $v0
|
|
|
|
j $ra
|
2014-02-06 01:59:23 +01:00
|
|
|
nop
|
|
|
|
1:
|
2017-10-13 22:22:24 +02:00
|
|
|
move $t0, $ra
|
|
|
|
bal 2f
|
2014-02-06 01:59:23 +01:00
|
|
|
nop
|
|
|
|
2:
|
2017-10-13 22:22:24 +02:00
|
|
|
.cpsetup $ra, $t1, 2b
|
|
|
|
LA $t9, __set_errno_internal
|
2014-02-06 01:59:23 +01:00
|
|
|
.cpreturn
|
2017-10-13 22:22:24 +02:00
|
|
|
j $t9
|
|
|
|
move $ra, $t0
|
2014-02-06 01:59:23 +01:00
|
|
|
.set pop
|
2014-02-19 23:54:31 +01:00
|
|
|
END(wait4)
|