Re: Lots of unexpected non-allocatable section warnings

From: David Daney
Date: Mon May 04 2009 - 11:26:21 EST


Manuel Lauss wrote:
Hi Sam,

On Sun, May 03, 2009 at 10:29:39PM +0200, Sam Ravnborg wrote:
This is due to the SUSE specific section as you expected.
We ignore sections named ".comment" but not ".comment" sections
with something appended to the name.


On a related note, I see tons of the following warnings cross-building for
MIPS:

WARNING: init/mounts.o (.mdebug.abi32): unexpected non-allocatable section.
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.

WARNING: init/mounts.o (.pdr): unexpected non-allocatable section.
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.


I added ".pdr" and ".mdebug*" to the whitelist; the resulting kernels still
work. (gcc-4.3.3, binutils-2.19.1)


I too think they are needed. Are you going to prepare a patch?

David Daney
--
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/