patches/ltrace/0.5.3/140-mips-remove-CP.patch
changeset 1685 ecccce88fc71
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/ltrace/0.5.3/140-mips-remove-CP.patch	Sun Jan 03 16:46:58 2010 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +This patch is courtesy of OpenEmbedded, by Khem Raj <raj.khem@gmail.com>
     1.5 +
     1.6 +http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=b85b779688f0abc389e3c25d06b54de8b86385c1
     1.7 +
     1.8 +Index: ltrace-0.5.3/sysdeps/linux-gnu/mipsel/trace.c
     1.9 +===================================================================
    1.10 +--- ltrace-0.5.3.orig/sysdeps/linux-gnu/mipsel/trace.c	2009-10-23 23:15:59.822783128 -0700
    1.11 ++++ ltrace-0.5.3/sysdeps/linux-gnu/mipsel/trace.c	2009-10-23 23:16:10.441268788 -0700
    1.12 +@@ -127,7 +127,6 @@ gimme_arg(enum tof type, Process *proc, 
    1.13 + 			return ret;
    1.14 + 		} else {
    1.15 + 			// If we need this, I think we can look at [sp+16] for arg_num==4.
    1.16 +-			CP;
    1.17 + 			return 0;
    1.18 + 		}
    1.19 + 	}