mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
declare __syscall_ret as hidden in vfork asm
without this, it's plausible that assembler or linker could complain about an unsatisfiable relocation.
This commit is contained in:
parent
a8c53794a0
commit
aee11e5acc
4 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,7 @@ vfork:
|
|||
int $128
|
||||
push %edx
|
||||
push %eax
|
||||
.hidden __syscall_ret
|
||||
call __syscall_ret
|
||||
pop %edx
|
||||
ret
|
||||
|
|
|
@ -5,4 +5,5 @@
|
|||
__vfork:
|
||||
vfork:
|
||||
svc 190
|
||||
.hidden __syscall_ret
|
||||
jg __syscall_ret
|
||||
|
|
|
@ -9,4 +9,5 @@ vfork:
|
|||
syscall
|
||||
push %rdx
|
||||
mov %rax,%rdi
|
||||
.hidden __syscall_ret
|
||||
jmp __syscall_ret
|
||||
|
|
|
@ -9,4 +9,5 @@ vfork:
|
|||
syscall
|
||||
push %rdx
|
||||
mov %rax,%rdi
|
||||
.hidden __syscall_ret
|
||||
jmp __syscall_ret
|
||||
|
|
Loading…
Add table
Reference in a new issue