MN10300: Permit .GCC-command-line sections
authorDavid Howells <dhowells@redhat.com>
Thu, 12 Aug 2010 15:54:47 +0000 (16:54 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Aug 2010 16:51:35 +0000 (09:51 -0700)
commit019fca84e7c4b94817abc77df9081ba208fcc46a
tree2b14e8b170f0e7ad38b93ab4b5c52f8c8d8fb1ca
parent3ad001c04f1ad21b87a7648450b53e7f04194f2a
MN10300: Permit .GCC-command-line sections

Permit .GCC-command-line sections in modules.  Otherwise modpost says things
like:

WARNING: drivers/mtd/chips/map_ram.o (.GCC-command-line): 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.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/mod/modpost.c