diff options
author | Wu Zhangjin <[email protected]> | 2009-11-20 20:34:37 +0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2009-12-17 01:57:26 +0000 |
commit | fc49a3be2be7a0cd44fcd3b37557d6d92cae59b1 (patch) | |
tree | d216d6b5a23c85ee5bcd3b92dd62a4c6718bd72e /lib/debugobjects.c | |
parent | 046199cae714a7f9e88f5a7940b077f4515f48cb (diff) |
MIPS: Tracing: Reserve $12(t0) for mcount-ra-address of gcc 4.5
A new option -mmcount-ra-address for gcc 4.5 have been sent by David
Daney <[email protected]> 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 <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Nicholas Mc Guire <[email protected]>
Cc: [email protected]
Cc: Wu Zhangjin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/680/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions