]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3ef38405c7ad27e52868389dd209b5dbdf01203
tree2b14e8b170f0e7ad38b93ab4b5c52f8c8d8fb1ca
parent125d25e9ccf3d2326a31af9d0d439966f2705c46
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