linux-mips
[Top] [All Lists]

Re: Lots of unexpected non-allocatable section warnings

To: Manuel Lauss <mano@roarinelk.homelinux.net>
Subject: Re: Lots of unexpected non-allocatable section warnings
From: David Daney <ddaney@caviumnetworks.com>
Date: Mon, 04 May 2009 08:26:02 -0700
Cc: Sam Ravnborg <sam@ravnborg.org>, Anders Kaseorg <andersk@mit.edu>, LKML <linux-kernel@vger.kernel.org>, Linux-MIPS <linux-mips@linux-mips.org>
In-reply-to: <20090504082816.GA25378@roarinelk.homelinux.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20090503110517.6d09bca2@hyperion.delvare> <20090503103010.GA27978@uranus.ravnborg.org> <20090503124848.276b437f@hyperion.delvare> <20090503180332.GA31820@uranus.ravnborg.org> <20090503202939.GA1237@uranus.ravnborg.org> <20090504082816.GA25378@roarinelk.homelinux.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
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

<Prev in Thread] Current Thread [Next in Thread>