Browse Source

uClibc: fix syscall() for syscalls with 6 arguments on PowerPC

Patch from the uClibc master.

Fixes the package fastd on PowerPC.

Signed-off-by: Matthias Schiffer <[email protected]>

SVN-Revision: 44694
John Crispin 11 years ago
parent
commit
0e6ecf707d
1 changed files with 10 additions and 0 deletions
  1. 10 0
      toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch

+ 10 - 0
toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch

@@ -0,0 +1,10 @@
+--- a/libc/sysdeps/linux/powerpc/syscall.S
++++ b/libc/sysdeps/linux/powerpc/syscall.S
+@@ -30,6 +30,7 @@ syscall:
+ 	mr 5,6
+ 	mr 6,7
+ 	mr 7,8
++	mr 8,9
+ 	sc
+ 	bnslr;
+