blob: 1039f0f2f109df1c7090512c80b26d3e5e33ec8c [file] [log] [blame]
.global __vfork
.weak vfork
.type __vfork,@function
.type vfork,@function
__vfork:
vfork:
pop %rdx
mov $0x4000003a,%eax /* SYS_vfork */
syscall
push %rdx
mov %rax,%rdi
jmp __syscall_ret