From: Paweł Sikora Date: Sun, 11 Dec 2005 04:16:23 +0000 (+0000) Subject: - oops, sparc has a different call convention. X-Git-Tag: auto/ac/LeakTracer-2_4-1~4 X-Git-Url: http://git.pld-linux.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bf2ab891f194b90ab856fd5944126426f208049;hp=3729947b0c1d788de55a880c52a75f889eeba3d7;p=packages%2FLeakTracer.git - oops, sparc has a different call convention. Changed files: LeakTracer-caller_addr.patch -> 1.3 --- 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; +}