Re: [PATCH] Disable modpost warnings for linkonce sections

From: Sam Ravnborg
Date: Sun May 11 2008 - 04:11:44 EST


On Thu, May 08, 2008 at 01:41:11PM +0200, Andi Kleen wrote:
> Disable modpost warnings for linkonce sections
>
> My build gives lots of warnings like
>
> WARNING: sound/core/snd.o (.gnu.linkonce.wi.mpspec_def.h.30779716): unexpected section name.
> The (.[number]+) following section name are ld generated and not expected.
> Did you forget to use "ax"/"aw" in a .S file?
> Note that for example <linux/init.h> contains
> section definitions for use in .S files.
>
> But for .linkonce. duplicated sections are actually ok and expected.
> So just disable the warning for this case.

Agreed.
Applied and pushed out.

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/