make rule for user header file install
[lunaix-os.git] / lunaix-os / usr / libc / arch / x86_64 / trampoline.S
index 86bdfd1b27f119a6f0379ce59a2e30817b129cda..a820550873dceed67060618db35a2b80e36a127a 100644 (file)
@@ -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