PATCH: Put .zdebug* section on white list

From: H.J. Lu
Date: Wed Dec 15 2010 - 20:11:41 EST


Hi,

"as --compress-debug-sections" will generate compressed debug sections
with section names ".zdebug*". This patch puts .zdebug* section on
white list.


--
H.J.
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 6a087ff..2bab622 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -790,6 +790,7 @@ static const char *section_white_list[] =
{
".comment*",
".debug*",
+ ".zdebug*", /* Compressed debug sections. */
".GCC-command-line", /* mn10300 */
".mdebug*", /* alpha, score, mips etc. */
".pdr", /* alpha, score, mips etc. */