fix dependency check logic cause config always disabled
[lunaix-os.git] / lunaix-os / usr / libc / arch / i386 / trampoline.S
index a2d84b6f8f72a8b64b2688ae3f305a16c2706fd6..378dce4b561f6336a53ee0178e29c9377d82892c 100644 (file)
@@ -15,7 +15,7 @@
 
         addl $12, %esp
         
 
         addl $12, %esp
         
-        movl $__SYSCALL_sigreturn, %eax
+        movl $__NR__lxsys_sigreturn, %eax
         popl %ebx
         int $33
 
         popl %ebx
         int $33
 
@@ -25,8 +25,8 @@
         movl 4(%esp), %ebx
         pushl %ebx
 
         movl 4(%esp), %ebx
         pushl %ebx
 
-        call *(%eax)
+        calll *%eax
 
         movl %eax, %ebx
 
         movl %eax, %ebx
-        movl $__SYSCALL_th_exit, %eax
+        movl $__NR__lxsys_th_exit, %eax
         int $33
\ No newline at end of file
         int $33
\ No newline at end of file