2008-10-21 16:00:00 +02:00
|
|
|
/* autogenerated by gensyscalls.py */
|
|
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
|
|
|
|
.text
|
2008-12-18 03:03:48 +01:00
|
|
|
.type __fork, #function
|
|
|
|
.globl __fork
|
2008-10-21 16:00:00 +02:00
|
|
|
.align 4
|
|
|
|
.fnstart
|
|
|
|
|
2008-12-18 03:03:48 +01:00
|
|
|
__fork:
|
2008-10-21 16:00:00 +02:00
|
|
|
.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
|