From: Andi Kleen Date: Thu, 8 May 2008 11:41:11 +0000 (+0200) Subject: kbuild: disable modpost warnings for linkonce sections X-Git-Tag: v2.6.26-rc4~124^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd1db0a31319bd21c521b197ce17c557556b821b;p=pandora-kernel.git kbuild: disable modpost warnings for linkonce sections 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 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. Signed-off-by: Andi Kleen Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed