mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-14 17:59:28 +08:00
13 lines
132 B
ArmAsm
13 lines
132 B
ArmAsm
|
.globl _fork
|
||
|
.globl fork
|
||
|
_fork:
|
||
|
fork:
|
||
|
movl $2, %eax
|
||
|
lcall $7,$0
|
||
|
jb _cerror
|
||
|
testl %edx, %edx
|
||
|
je bye
|
||
|
xorl %eax,%eax
|
||
|
bye:
|
||
|
ret
|