File dietlibc-0.30-ppc-syscall.diff of Package dietlibc

Index: libcompat/syscall.S
===================================================================
--- libcompat/syscall.S.orig
+++ libcompat/syscall.S
@@ -129,6 +129,15 @@ syscall:
 	mr   %r8,%r9
 	b    __unified_syscall
 
+#elif defined(__powerpc__)
+       mr 0,3
+       mr 3,4
+       mr 4,5
+       mr 5,6
+       mr 6,7
+       mr 7,8
+       mr 8,9
+       b __unified_syscall
 #else
 		/* arch not implemented yet */
 #endif
openSUSE Build Service is sponsored by