1 2009-05-31 Mike Hommey <mh+reportbug@glandium.org>
3 * sysdeps/unix/sysv/linux/alpha/syscall.S: add support for 6th
6 --- a/ports/sysdeps/unix/sysv/linux/alpha/syscall.S
7 +++ b/ports/sysdeps/unix/sysv/linux/alpha/syscall.S
12 - * long syscall(syscall_number, arg1, arg2, arg3, arg4, arg5)
13 + * long syscall(syscall_number, arg1, arg2, arg3, arg4, arg5, arg6)
15 * syscall_number = the index of the system call we're invoking
16 - * arg1-arg5 = up to 5 integer arguments to the system call
17 + * arg1-arg6 = up to 6 integer arguments to the system call
19 * We need to do some arg shifting: the kernel expects the
20 - * syscall number in v0 and the first five args in a0-a4.
21 + * syscall number in v0 and the first six args in a0-a5.
29 + ldq a5,0(sp) /* arg6 -> a5 */
31 call_pal PAL_callsys /* Invoke system call */