0022-uClibc-fix-syscall-for-syscalls-with-6-arguments-on-PowerPC.patch 690 B

123456789101112131415161718192021222324
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Wed, 11 Mar 2015 18:30:54 +0100
  3. Subject: uClibc: fix syscall() for syscalls with 6 arguments on PowerPC
  4. Patch from the uClibc master.
  5. Fixes the package fastd on PowerPC.
  6. 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
  7. new file mode 100644
  8. index 0000000..9511dcc
  9. --- /dev/null
  10. +++ b/toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch
  11. @@ -0,0 +1,10 @@
  12. +--- a/libc/sysdeps/linux/powerpc/syscall.S
  13. ++++ b/libc/sysdeps/linux/powerpc/syscall.S
  14. +@@ -30,6 +30,7 @@ syscall:
  15. + mr 5,6
  16. + mr 6,7
  17. + mr 7,8
  18. ++ mr 8,9
  19. + sc
  20. + bnslr;
  21. +