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:
parent
3a1a4165b8
commit
0e6ecf707d
1 changed files with 10 additions and 0 deletions
10
toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch
Normal file
10
toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch
Normal 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;
|
||||||
|
|
Loading…
Reference in a new issue