modpost: Permit .GCC.command.line sections
authorJonathan Kliegman <kliegs@chromium.org>
Thu, 4 Oct 2012 20:32:19 +0000 (16:32 -0400)
committerMichal Marek <mmarek@suse.cz>
Thu, 11 Oct 2012 20:36:15 +0000 (22:36 +0200)
commit76b27645a5bba85bd26896811c7a25ecc37b3731
treeeb25a7b81a186bcf0fb2f8ad73aa35fdbfe3f229
parentb589c8ae095b3d4f4181a6aefb26df5e762d6499
modpost: Permit .GCC.command.line sections

Allow .GCC.command.line sections in modules to prevent modpost warnings:
WARNING: sound/usb/snd-usbmidi-lib.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: Jonathan Kliegman <kliegs@chromium.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/mod/modpost.c