help with ppc sections?
Grant Likely
grant.likely at secretlab.ca
Fri Jul 27 05:55:35 EST 2007
On 7/26/07, Chris Friesen <cfriesen at nortel.com> wrote:
>
> Hi all,
>
> I'm porting kprobes to 2.6.14, and I think I've got it mostly done. The
> last thing that I want to do is to mark flush_icache_range() as part of
> the .kprobes.text section so that we don't accidently try to probe it.
Hey Chris,
Mild question; What the *@*#^$! are you doing trying to backport to a
2 year old kernel?!? :-)
>
> On ppc64 this was done by duplicating the _GLOBAL macro and just
> modifying the ".section" line.
>
> Unfortunately for me, ppc doesn't have a ".section" line in that macro,
> so I'm at a bit of a loss.
Just add the section. Should be trivial to do. You might have to add
it to the linker script as well.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
More information about the Linuxppc-dev
mailing list