All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kbuild <linux-kbuild@vger.kernel.org>
Subject: Fwd: PATCH: Put .zdebug* section on white list
Date: Thu, 16 Dec 2010 12:26:12 -0800	[thread overview]
Message-ID: <4D0A75E4.9090306@zytor.com> (raw)

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

                 reply	other threads:[~2010-12-16 20:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D0A75E4.9090306@zytor.com \
    --to=hpa@zytor.com \
    --cc=linux-kbuild@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.