Re: smart gcc inliner...

From: Jan Engelhardt
Date: Tue Mar 27 2007 - 22:06:06 EST



On Mar 27 2007 17:07, PaweÅ Sikora wrote:
>
> The recent gcc (3.4/4.x) optimizer inlines functions across
> sections which is definitely not we want, e.g. inlining
> functions from .init.text section.
>
> I think, the `__init' macro needs `noinline' attribute and all

An function from the .init section may very well inline a function from the
regular section, though.


Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/