[Top] [All Lists]

Re: [PATCH v9 09/10] tracing: reserve $12(t0) for mcount-ra-address of g

To: Wu Zhangjin <>
Subject: Re: [PATCH v9 09/10] tracing: reserve $12(t0) for mcount-ra-address of gcc 4.5
From: Ralf Baechle <>
Date: Fri, 20 Nov 2009 17:25:17 +0000
Cc:, Nicholas Mc Guire <>,, Ingo Molnar <>, Thomas Gleixner <>, Frederic Weisbecker <>,,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.5.19 (2009-01-05)
On Fri, Nov 20, 2009 at 08:34:37PM +0800, Wu Zhangjin wrote:

> From: Wu Zhangjin <>
> A new option -mmcount-ra-address for gcc 4.5 have been sent by David
> Daney <> 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 <>

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



<Prev in Thread] Current Thread [Next in Thread>