modpost: Put .zdebug* section on white list
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 16 Dec 2010 01:11:22 +0000 (17:11 -0800)
committerMichal Marek <mmarek@suse.cz>
Thu, 16 Dec 2010 22:05:34 +0000 (23:05 +0100)
"as --compress-debug-sections" will generate compressed debug sections
with section names ".zdebug*".  This patch puts .zdebug* section on
white list.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/mod/modpost.c

index 33122ca..194e2c4 100644 (file)
@@ -790,6 +790,7 @@ static const char *section_white_list[] =
 {
        ".comment*",
        ".debug*",
 {
        ".comment*",
        ".debug*",
+       ".zdebug*",             /* Compressed debug sections. */
        ".GCC-command-line",    /* mn10300 */
        ".mdebug*",        /* alpha, score, mips etc. */
        ".pdr",            /* alpha, score, mips etc. */
        ".GCC-command-line",    /* mn10300 */
        ".mdebug*",        /* alpha, score, mips etc. */
        ".pdr",            /* alpha, score, mips etc. */