From 4e468ed2eb86a2406e14f1eca82072ee501d05fd Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:03:48 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- libc/arch-arm/syscalls/__fork.S | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libc/arch-arm/syscalls/__fork.S (limited to 'libc/arch-arm/syscalls/__fork.S') diff --git a/libc/arch-arm/syscalls/__fork.S b/libc/arch-arm/syscalls/__fork.S new file mode 100644 index 0000000..fddd276 --- /dev/null +++ b/libc/arch-arm/syscalls/__fork.S @@ -0,0 +1,19 @@ +/* autogenerated by gensyscalls.py */ +#include + + .text + .type __fork, #function + .globl __fork + .align 4 + .fnstart + +__fork: + .save {r4, r7} + stmfd sp!, {r4, r7} + ldr r7, =__NR_fork + swi #0 + ldmfd sp!, {r4, r7} + movs r0, r0 + bxpl lr + b __set_syscall_errno + .fnend -- cgit v1.1