提交 aee11e5a 编写于 作者: R Rich Felker

declare __syscall_ret as hidden in vfork asm

without this, it's plausible that assembler or linker could complain
about an unsatisfiable relocation.
上级 a8c53794
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册