Re: [PATCH] lguest: clean rest of linkage warnings (bar one)

From: Sam Ravnborg
Date: Thu Mar 22 2007 - 07:45:33 EST


On Thu, Mar 22, 2007 at 09:09:42PM +1100, Rusty Russell wrote:
> My previous warning fix broke lguest if your text size wasn't correct
> to make the __start_paravirtprobe aligned correctly. Put the separate
> paravirtprobe section back, but inside the init section so it gets
> discarded.
>
> It also fixes the remaining warnings, except one. The code in
> modpost.c which needs to be taught that it's legal to link from
> .paravirtprobe to .init.text is horrible, and I'm pretty sure I'd just
> make it worse.

If you drop me a sample of the exact warning I will add this one too.
Current kbuild.git contains a lot of fixes in this area so I refer to
do so on top of that tree.

Sam
-
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/