aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-03-12 10:07:01 +0000
committerJohn Crispin <john@openwrt.org>2015-03-12 10:07:01 +0000
commit0e6ecf707d7e2f10bb7465508548b962cef56ac3 (patch)
tree8f69776b6561335e54fcaf72d48cf3fdee9fd6ca /toolchain
parent3a1a4165b861a637cc18323baefb1517a7e44084 (diff)
downloadupstream-0e6ecf707d7e2f10bb7465508548b962cef56ac3.tar.gz
upstream-0e6ecf707d7e2f10bb7465508548b962cef56ac3.tar.bz2
upstream-0e6ecf707d7e2f10bb7465508548b962cef56ac3.zip
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
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch b/toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch
new file mode 100644
index 0000000000..9511dcc199
--- /dev/null
+++ b/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;
+