mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-24 14:14:35 +03:00
support vfork on i386
This commit is contained in:
parent
768f39a535
commit
2bb75db611
14
src/process/i386/vfork.s
Normal file
14
src/process/i386/vfork.s
Normal file
@ -0,0 +1,14 @@
|
||||
.global __vfork
|
||||
.weak vfork
|
||||
.type __vfork,@function
|
||||
.type vfork,@function
|
||||
__vfork:
|
||||
vfork:
|
||||
pop %edx
|
||||
mov $190,%eax
|
||||
int $128
|
||||
push %edx
|
||||
push %eax
|
||||
call __syscall_ret
|
||||
pop %edx
|
||||
ret
|
Loading…
x
Reference in New Issue
Block a user