[OpenWrt-Devel] [PATCH] uClibc: fix syscall() for syscalls with 6 arguments on PowerPC

John Crispin blogic at openwrt.org
Thu Mar 12 05:32:18 EDT 2015


i bet you had a lot of fun tracking down this one :)

i've just added it to my local queue


On 11/03/2015 20:27, Matthias Schiffer wrote:
> Patch from the uClibc master.
> 
> Fixes the package fastd on PowerPC.
> 
> Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
> ---
>  toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>  create mode 100644 toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch
> 
> 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 0000000..9511dcc
> --- /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;
> + 
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list