--- LeakTracer.cc.orig 2005-12-10 23:57:27.000000000 +0000
+++ LeakTracer.cc 2005-12-11 00:12:19.592655400 +0000
-@@ -86,6 +86,21 @@
+@@ -86,6 +86,25 @@
*/
#define INITIALSIZE 32768
+// x86-32: call [mem] takes 5 bytes.
+// x86-64: callq/jmpq [mem] takes 5 bytes.
+ c -= 5;
-+#elif defined(__powerpc__)
-+// ppc32: bl [mem] takes 4 bytes.
++#elif defined(__powerpc__) || defined(__alpha__)
++// 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.
++ c -= 8;
+#endif
+ return (const void*)c;
+}