summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Oppenlander <patrick.oppenlander@gmail.com>2018-04-10 11:01:25 +1000
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:29 -0400
commita8c53794a00f7a432a846cb649b4908ceba322b9 (patch)
treec48a15cc546a25c580814b29eda14b5f41554544
parent55a1c9c89028f8930e5f65fe5484fa7ba0e18853 (diff)
downloadmusl-a8c53794a00f7a432a846cb649b4908ceba322b9.tar.gz
musl-a8c53794a00f7a432a846cb649b4908ceba322b9.tar.bz2
musl-a8c53794a00f7a432a846cb649b4908ceba322b9.tar.xz
musl-a8c53794a00f7a432a846cb649b4908ceba322b9.zip
add arm asm for vfork
-rw-r--r--src/process/arm/vfork.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/process/arm/vfork.s b/src/process/arm/vfork.s
new file mode 100644
index 00000000..ed1f87a6
--- /dev/null
+++ b/src/process/arm/vfork.s
@@ -0,0 +1,13 @@
+.syntax unified
+.global __vfork
+.weak vfork
+.type __vfork,%function
+.type vfork,%function
+__vfork:
+vfork:
+ mov ip, r7
+ mov r7, 190
+ svc 0
+ mov r7, ip
+ .hidden __syscall_ret
+ b __syscall_ret