SOURCES: LeakTracer-caller_addr.patch - oops, sparc has a differen...

pluto pluto at pld-linux.org
Sun Dec 11 05:16:29 CET 2005


Author: pluto                        Date: Sun Dec 11 04:16:29 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- oops, sparc has a different call convention.

---- Files affected:
SOURCES:
   LeakTracer-caller_addr.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/LeakTracer-caller_addr.patch
diff -u SOURCES/LeakTracer-caller_addr.patch:1.2 SOURCES/LeakTracer-caller_addr.patch:1.3
--- SOURCES/LeakTracer-caller_addr.patch:1.2	Sun Dec 11 04:58:08 2005
+++ SOURCES/LeakTracer-caller_addr.patch	Sun Dec 11 05:16:23 2005
@@ -17,8 +17,8 @@
 +// alpha: bsr ra,[mem] takes 4 bytes.
 +	c -= 4;
 +#elif defined(__sparc__)
-+// sparc32/64: call with delay slot takes 8 bytes.
-+	c -= 8;
++// sparc32/64: call with delay slot takes 8 bytes
++// but %i7 (r31) contains return_address-8, so no change here.
 +#endif
 +	return (const void*)c;
 +}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/LeakTracer-caller_addr.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list