mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
310 B
24 lines
310 B
|
11 years ago
|
.global __vfork
|
||
|
|
.weak vfork
|
||
|
|
.type __vfork,@function
|
||
|
|
.type vfork,@function
|
||
|
|
__vfork:
|
||
|
|
vfork:
|
||
|
|
mov #95, r3
|
||
|
|
add r3, r3
|
||
|
|
|
||
|
|
trapa #16
|
||
|
|
or r0, r0
|
||
|
|
or r0, r0
|
||
|
|
or r0, r0
|
||
|
|
or r0, r0
|
||
|
|
or r0, r0
|
||
|
|
|
||
|
|
mov r0, r4
|
||
|
|
mov.l 1f, r0
|
||
|
|
2: braf r0
|
||
|
|
nop
|
||
|
|
.align 2
|
||
|
|
.hidden __syscall_ret
|
||
|
|
1: .long __syscall_ret@PLT-(2b+4-.)
|