fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / sysvi386 / fork.s
blob8c9b60035eb4133eca4e0000c684dcf7b601d6fe
1 .globl _fork
2 .globl fork
3 _fork:
4 fork:
5 movl $2, %eax
6 lcall $7,$0
7 jb _cerror
8 testl %edx, %edx
9 je bye
10 xorl %eax,%eax
11 bye:
12 ret