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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44694 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2015-03-12 10:07:01 +00:00
parent 4d998f98f0
commit b585a81ca1

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;