diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-10-14 23:56:31 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-10-14 23:56:31 -0400 |
commit | 2bb75db611f1ce534073be20e5834cc75a7c531c (patch) | |
tree | 15349b9cfdd96cfa58c3d294d3cc0bb7564f9aac /src | |
parent | 768f39a535e5f5a50c2c17dc072e92ba01665ef0 (diff) | |
download | musl-2bb75db611f1ce534073be20e5834cc75a7c531c.tar.gz |
support vfork on i386
Diffstat (limited to 'src')
-rw-r--r-- | src/process/i386/vfork.s | 14 |
1 files changed, 14 insertions, 0 deletions
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 |