git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
migrate stock user space build to new build system
[lunaix-os.git]
/
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 86bdfd1b27f119a6f0379ce59a2e30817b129cda..a820550873dceed67060618db35a2b80e36a127a 100644
(file)
--- 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
leaq 4(%rax), %rdx // (struct siguctx*)&sigact
call sig_dohandling
- movq $__
SYSCALL
_sigreturn, %rax
+ movq $__
NR__lxsys
_sigreturn, %rax
popq %rbx
int $33
popq %rbx
int $33
@@
-29,8
+29,8
@@
movq (%rsp), %rax
movq 8(%rsp), %rdi
movq (%rsp), %rax
movq 8(%rsp), %rdi
- callq %rax
+ callq
*
%rax
movq %rax, %rbx
movq %rax, %rbx
- movq $__
SYSCALL
_th_exit, %rax
+ movq $__
NR__lxsys
_th_exit, %rax
int $33
\ No newline at end of file
int $33
\ No newline at end of file