This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] m68k: don't use lea on profiling
* Jeff Law | 2009-11-23 10:30:10 [-0700]:
>>Andreas, does this look OK to you?
>My areas of concern would be:
>
> 1. Does anyone hook the mcount call and expect the a0/a1 to have
>reasonable values. For example, the kernel tracing code?
I've implemented ftrace support [0] for the nommu variant however it
wasn't merged since they changed the interface a few times and I did not
follow. Back than I had to rip it out in order to compile the kernel
with -pg and it worked with the label.
[0] http://lkml.indiana.edu/hypermail/linux/kernel/0805.1/2054.html
>jeff
>
Sebastian