SOURCES: uClibc-ppc-syscall.patch - reworked (i hope it'll work).

pluto pluto at pld-linux.org
Sat Sep 24 02:42:31 CEST 2005


Author: pluto                        Date: Sat Sep 24 00:42:31 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- reworked (i hope it'll work).

---- Files affected:
SOURCES:
   uClibc-ppc-syscall.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/uClibc-ppc-syscall.patch
diff -u SOURCES/uClibc-ppc-syscall.patch:1.1 SOURCES/uClibc-ppc-syscall.patch:1.2
--- SOURCES/uClibc-ppc-syscall.patch:1.1	Sat Sep 24 01:46:11 2005
+++ SOURCES/uClibc-ppc-syscall.patch	Sat Sep 24 02:42:26 2005
@@ -114,11 +114,11 @@
 +			  "r"   (__sc_6),				\
 +			  "r"   (__sc_7),				\
 +			  "r"   (__sc_8)				\
-+			: __syscall_clobbers);				\
++			: "r9", "r10", "r11", "r12");			\
 +		__sc_ret = __sc_3;					\
 +		__sc_err = __sc_0;					\
 +	}								\
-+	__syscall_return (type);					\
++	return (__sc_err & 0x10000000 ? __set_errno(__sc_ret), __sc_ret = -1 : 0), (type)__sc_ret;	\
 +}
  
  #endif /* _BITS_SYSCALLS_H */
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/uClibc-ppc-syscall.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list