Re: [PATCH v9 09/10] tracing: reserve $12(t0) formcount-ra-address of gcc 4.5

From: Ralf Baechle
Date: Fri Nov 20 2009 - 13:00:53 EST


On Fri, Nov 20, 2009 at 08:34:37PM +0800, Wu Zhangjin wrote:

> From: Wu Zhangjin <wuzhangjin@xxxxxxxxx>
>
> A new option -mmcount-ra-address for gcc 4.5 have been sent by David
> Daney <ddaney@xxxxxxxxxxxxxxxxxx> in the thread "MIPS: Add option to
> pass return address location to _mcount", which help to record the
> location of the return address(ra) for the function graph tracer of MIPS
> to hijack the return address easier and safer. that option used the
> $12(t0) register by default, so, we reserve it for it, and use t1,t2,t3
> instead of t0,t1,t2.
>
> Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx>

Queued for 2.6.33 but due to patch 3/3 I won't propagate this series
immediately to linux-next.

Thanks!

Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/