From 7bf2ab891f194b90ab856fd5944126426f208049 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Sun, 11 Dec 2005 04:16:23 +0000 Subject: [PATCH 1/1] - oops, sparc has a different call convention. Changed files: LeakTracer-caller_addr.patch -> 1.3 --- LeakTracer-caller_addr.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LeakTracer-caller_addr.patch b/LeakTracer-caller_addr.patch index 587485f..2cdcb7b 100644 --- a/LeakTracer-caller_addr.patch +++ b/LeakTracer-caller_addr.patch @@ -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; +} -- 2.44.0