summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-15 17:11:22 -0800
committerMichal Marek <mmarek@suse.cz>2010-12-16 23:05:34 +0100
commit1121584f5db8a99a7ad94c6c5d62431b3187ad98 (patch)
tree9d8cd6eb0ef4737a3d32c21f7d60816a4cddbfba /scripts/mod
parent41263fc6716dea402125c95f38ed83ebf59d5172 (diff)
downloadlinux-3.10-1121584f5db8a99a7ad94c6c5d62431b3187ad98.tar.gz
linux-3.10-1121584f5db8a99a7ad94c6c5d62431b3187ad98.tar.bz2
linux-3.10-1121584f5db8a99a7ad94c6c5d62431b3187ad98.zip
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 33122ca04e7..194e2c45360 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. */