| To: | Wu Zhangjin <wuzhangjin@gmail.com> |
|---|---|
| Subject: | Re: [PATCH v9 09/10] tracing: reserve $12(t0) for mcount-ra-address of gcc 4.5 |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Fri, 20 Nov 2009 17:25:17 +0000 |
| Cc: | rostedt@goodmis.org, Nicholas Mc Guire <der.herr@hofr.at>, zhangfx@lemote.com, Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>, Frederic Weisbecker <fweisbec@gmail.com>, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org |
| In-reply-to: | <76ddc2b8164e0e2f239ddd81ef1ef6a241540004.1258719323.git.wuzhangjin@gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <cover.1258719323.git.wuzhangjin@gmail.com> <76ddc2b8164e0e2f239ddd81ef1ef6a241540004.1258719323.git.wuzhangjin@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| 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 <wuzhangjin@gmail.com> > > A new option -mmcount-ra-address for gcc 4.5 have been sent by David > Daney <ddaney@caviumnetworks.com> 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@gmail.com> Queued for 2.6.33 but due to patch 3/3 I won't propagate this series immediately to linux-next. Thanks! Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v9 08/10] tracing: make ftrace for MIPS work without -fno-omit-frame-pointer, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH v9 10/10] tracing: make function graph tracer work with -mmcount-ra-address, Ralf Baechle |
| Previous by Thread: | [PATCH v9 09/10] tracing: reserve $12(t0) for mcount-ra-address of gcc 4.5, Wu Zhangjin |
| Next by Thread: | [PATCH v9 10/10] tracing: make function graph tracer work with -mmcount-ra-address, Wu Zhangjin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |