aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-12 10:07:01 +0000
committerJohn Crispin <blogic@openwrt.org>2015-03-12 10:07:01 +0000
commitb585a81ca19c5f17bd33c9925ffa0c9d85072f44 (patch)
tree1bd97cfd86a968d7f17334f53e07af6baed29ce1 /toolchain
parent4d998f98f0d1b22ab34c532fb2aadbb100ae52a1 (diff)
downloadupstream-b585a81ca19c5f17bd33c9925ffa0c9d85072f44.tar.gz
upstream-b585a81ca19c5f17bd33c9925ffa0c9d85072f44.tar.bz2
upstream-b585a81ca19c5f17bd33c9925ffa0c9d85072f44.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44694 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;
+