3 # The calling convention for __vsyscall has the syscall number
4 # and 5 args arriving as: eax, edx, ecx, edi, esi, 4(%esp).
5 # This ensures that the inline asm in the C code never has to touch
6 # ebx or ebp (which are unavailable in PIC and frame-pointer-using
7 # code, respectively), and optimizes for size/simplicity in the caller.
10 .type __vsyscall,@function
26 add $[__sysinfo-2b],%eax
32 ret # tail call to kernel vsyscall entry
37 # The __vsyscall6 entry point is used only for 6-argument syscalls.
38 # Instead of passing the 5th argument on the stack, a pointer to the
39 # 5th and 6th arguments is passed. This is ugly, but there are no
40 # register constraints the inline asm could use that would make it
41 # possible to pass two arguments on the stack.
44 .type __vsyscall6,@function
60 .type __syscall,@function