4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-17 20:09:21 +08:00

19 lines
225 B
ArmAsm
Raw Normal View History

2000-02-17 19:39:52 +00:00
.globl _waitpid
.globl waitpid
_waitpid:
waitpid:
pushfl
popl %eax
orl $0x8c4,%eax
pushl %eax
popfl
movl $0x7, %eax
lcall $7,$0
jb _cerror
movl 8(%esp), %ecx
testl %ecx, %ecx
je bye
movl %edx, (%ecx)
bye:
ret