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 <mschiffer@universe-factory.net>

SVN-Revision: 44694
This commit is contained in:
John Crispin 2015-03-12 10:07:01 +00:00
parent 3a1a4165b8
commit 0e6ecf707d
1 changed files with 10 additions and 0 deletions

View File

@ -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;