From: Rich Felker Date: Sat, 15 Oct 2011 03:56:31 +0000 (-0400) Subject: support vfork on i386 X-Git-Tag: v0.8.4~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2bb75db611f1ce534073be20e5834cc75a7c531c;p=oweals%2Fmusl.git support vfork on i386 --- diff --git a/src/process/i386/vfork.s b/src/process/i386/vfork.s new file mode 100644 index 00000000..fadca207 --- /dev/null +++ b/src/process/i386/vfork.s @@ -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