SOURCES: LeakTracer-caller_addr.patch - builtin_return_address(1) ...

pluto pluto at pld-linux.org
Sun Dec 11 14:15:06 CET 2005


Author: pluto                        Date: Sun Dec 11 13:15:06 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- builtin_return_address(1) doesn't work on alpha.

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

---- Diffs:

================================================================
Index: SOURCES/LeakTracer-caller_addr.patch
diff -u SOURCES/LeakTracer-caller_addr.patch:1.3 SOURCES/LeakTracer-caller_addr.patch:1.4
--- SOURCES/LeakTracer-caller_addr.patch:1.3	Sun Dec 11 05:16:23 2005
+++ SOURCES/LeakTracer-caller_addr.patch	Sun Dec 11 14:15:01 2005
@@ -1,6 +1,6 @@
 --- LeakTracer.cc.orig	2005-12-10 23:57:27.000000000 +0000
 +++ LeakTracer.cc	2005-12-11 00:12:19.592655400 +0000
-@@ -86,6 +86,25 @@
+@@ -86,6 +86,24 @@
   */
  #define INITIALSIZE 32768
  
@@ -12,9 +12,8 @@
 +// x86-32: call [mem] takes 5 bytes.
 +// x86-64: callq/jmpq [mem] takes 5 bytes.
 +	c -= 5;
-+#elif defined(__powerpc__) || defined(__alpha__)
++#elif defined(__powerpc__)
 +// ppc32/64: bl [mem] takes 4 bytes.
-+// alpha: bsr ra,[mem] takes 4 bytes.
 +	c -= 4;
 +#elif defined(__sparc__)
 +// sparc32/64: call with delay slot takes 8 bytes
================================================================

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




More information about the pld-cvs-commit mailing list