]> git.pld-linux.org Git - packages/LeakTracer.git/blobdiff - LeakTracer-caller_addr.patch
- oops, sparc has a different call convention.
[packages/LeakTracer.git] / 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.059844 seconds and 4 git commands to generate.