summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-16 04:11:22 +0300
committerMichal Marek <mmarek@suse.cz>2010-12-17 01:05:34 +0300
commit1121584f5db8a99a7ad94c6c5d62431b3187ad98 (patch)
tree9d8cd6eb0ef4737a3d32c21f7d60816a4cddbfba /scripts/mod
parent41263fc6716dea402125c95f38ed83ebf59d5172 (diff)
downloadlinux-1121584f5db8a99a7ad94c6c5d62431b3187ad98.tar.xz
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>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 33122ca04e7c..194e2c453609 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. */