public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* Fwd: PATCH: Put .zdebug* section on white list
@ 2010-12-16 20:26 H. Peter Anvin
  0 siblings, 0 replies; only message in thread
From: H. Peter Anvin @ 2010-12-16 20:26 UTC (permalink / raw)
  To: linux-kbuild

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: PATCH: Put _zdebug* section on white list.eml --]
[-- Type: message/rfc822, Size: 3177 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 167 bytes --]

Hi,

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


-- 
H.J.

[-- Attachment #2.1.2: zdebug.patch --]
[-- Type: text/plain, Size: 425 bytes --]

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. */

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-16 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-16 20:26 Fwd: PATCH: Put .zdebug* section on white list H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox