Sfoglia il codice sorgente

modpost: Put .zdebug* section on white list

"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>
H.J. Lu 14 anni fa
parent
commit
1121584f5d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      scripts/mod/modpost.c

+ 1 - 0
scripts/mod/modpost.c

@@ -790,6 +790,7 @@ static const char *section_white_list[] =
 {
 {
 	".comment*",
 	".comment*",
 	".debug*",
 	".debug*",
+	".zdebug*",		/* Compressed debug sections. */
 	".GCC-command-line",	/* mn10300 */
 	".GCC-command-line",	/* mn10300 */
 	".mdebug*",        /* alpha, score, mips etc. */
 	".mdebug*",        /* alpha, score, mips etc. */
 	".pdr",            /* alpha, score, mips etc. */
 	".pdr",            /* alpha, score, mips etc. */