X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/28c176b668c841a3b7fb093faccf0efa39257603..HEAD:/lunaix-os/usr/libc/arch/x86_64/trampoline.S diff --git a/lunaix-os/usr/libc/arch/x86_64/trampoline.S b/lunaix-os/usr/libc/arch/x86_64/trampoline.S index 86bdfd1..a820550 100644 --- a/lunaix-os/usr/libc/arch/x86_64/trampoline.S +++ b/lunaix-os/usr/libc/arch/x86_64/trampoline.S @@ -20,7 +20,7 @@ leaq 4(%rax), %rdx // (struct siguctx*)&sigact call sig_dohandling - movq $__SYSCALL_sigreturn, %rax + movq $__NR__lxsys_sigreturn, %rax popq %rbx int $33 @@ -29,8 +29,8 @@ movq (%rsp), %rax movq 8(%rsp), %rdi - callq %rax + callq *%rax movq %rax, %rbx - movq $__SYSCALL_th_exit, %rax + movq $__NR__lxsys_th_exit, %rax int $33 \ No newline at end of file