diff options
author | Jonathan Kliegman <kliegs@chromium.org> | 2012-10-04 20:32:19 (GMT) |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-10-11 20:36:15 (GMT) |
commit | 76b27645a5bba85bd26896811c7a25ecc37b3731 (patch) | |
tree | eb25a7b81a186bcf0fb2f8ad73aa35fdbfe3f229 /scripts/mod/modpost.c | |
parent | b589c8ae095b3d4f4181a6aefb26df5e762d6499 (diff) | |
download | linux-fsl-qoriq-76b27645a5bba85bd26896811c7a25ecc37b3731.tar.xz |
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>
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 68e9f5e..cd5803c 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -821,6 +821,7 @@ static const char *section_white_list[] = ".debug*", ".zdebug*", /* Compressed debug sections. */ ".GCC-command-line", /* mn10300 */ + ".GCC.command.line", /* record-gcc-switches, non mn10300 */ ".mdebug*", /* alpha, score, mips etc. */ ".pdr", /* alpha, score, mips etc. */ ".stab*", |