Author: aurel32 Date: 2010-06-08 07:01:59 +0000 (Tue, 08 Jun 2010) New Revision: 4331
Added: glibc-package/trunk/debian/patches/alpha/submitted-syscall.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * Add patches/alpha/submitted-syscall.diff from Mike Hommey to add support for 6th argument system calls on alpha. Closes: bug#583911. Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2010-06-07 15:50:39 UTC (rev 4330) +++ glibc-package/trunk/debian/changelog 2010-06-08 07:01:59 UTC (rev 4331) @@ -14,8 +14,10 @@ * mips testsuite: allow failure of tst-tls3 as it is not a regression. * Add patches/any/submitted-string2-strcmp.diff to fix warnings in the testsuite on armel. + * Add patches/alpha/submitted-syscall.diff from Mike Hommey to add support + for 6th argument system calls on alpha. Closes: bug#583911. - -- Aurelien Jarno <aure...@debian.org> Mon, 07 Jun 2010 17:47:07 +0200 + -- Aurelien Jarno <aure...@debian.org> Tue, 08 Jun 2010 08:59:00 +0200 eglibc (2.11.1-2) unstable; urgency=low Added: glibc-package/trunk/debian/patches/alpha/submitted-syscall.diff =================================================================== --- glibc-package/trunk/debian/patches/alpha/submitted-syscall.diff (rev 0) +++ glibc-package/trunk/debian/patches/alpha/submitted-syscall.diff 2010-06-08 07:01:59 UTC (rev 4331) @@ -0,0 +1,32 @@ +2009-05-31 Mike Hommey <mh+report...@glandium.org> + + * sysdeps/unix/sysv/linux/alpha/syscall.S: add support for 6th + argument. + +--- a/ports/sysdeps/unix/sysv/linux/alpha/syscall.S ++++ b/ports/sysdeps/unix/sysv/linux/alpha/syscall.S +@@ -31,13 +31,13 @@ + * + * Usage: + * +- * long syscall(syscall_number, arg1, arg2, arg3, arg4, arg5) ++ * long syscall(syscall_number, arg1, arg2, arg3, arg4, arg5, arg6) + * + * syscall_number = the index of the system call we're invoking +- * arg1-arg5 = up to 5 integer arguments to the system call ++ * arg1-arg6 = up to 6 integer arguments to the system call + * + * We need to do some arg shifting: the kernel expects the +- * syscall number in v0 and the first five args in a0-a4. ++ * syscall number in v0 and the first six args in a0-a5. + * + */ + +@@ -60,6 +60,7 @@ + mov a3, a2 + mov a4, a3 + mov a5, a4 ++ ldq a5,0(sp) /* arg6 -> a5 */ + + call_pal PAL_callsys /* Invoke system call */ + bne a3, $error Modified: glibc-package/trunk/debian/patches/series =================================================================== --- glibc-package/trunk/debian/patches/series 2010-06-07 15:50:39 UTC (rev 4330) +++ glibc-package/trunk/debian/patches/series 2010-06-08 07:01:59 UTC (rev 4331) @@ -56,6 +56,7 @@ alpha/local-fcntl_h.diff alpha/local-longjmp-chk.diff alpha/local-lowlevellock.diff +alpha/submitted-syscall.diff amd64/local-biarch.diff amd64/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1olspc-0008w1...@alioth.debian.org