]> git.pld-linux.org Git - packages/LeakTracer.git/commitdiff
- oops, sparc has a different call convention.
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 11 Dec 2005 04:16:23 +0000 (04:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    LeakTracer-caller_addr.patch -> 1.3

LeakTracer-caller_addr.patch

index 587485f66a2398abc86078c50c56b7a55b5867d0..2cdcb7b4266a0f195415053ede313e327b2f4321 100644 (file)
@@ -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;
 +}
This page took 0.057076 seconds and 4 git commands to generate.