On Thu, 2009-10-22 at 13:59 -0400, Steven Rostedt wrote: > On Fri, 2009-10-23 at 01:47 +0800, Wu Zhangjin wrote: > > On Wed, 2009-10-21 at 11:24 -0400, Steven Rostedt wrote: > > > > Is t0 and t1 safe for mcount to use? Remember, mcount does not follow > > > the dynamics of C function ABI. > > > > So, perhaps we can use the saved registers(a0,a1...) instead. > > I don't know. I was just asking. I just used a0,a1,a2 instead of t0,t1,t2, we are safe to use them for they have been saved/restored. Thanks!