summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2011-03-16 19:05:22 -0400
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2011-03-16 19:05:22 -0400
commit1c1f96e9cbe6146c8bd1cefbdf65b8efe099d014 (patch)
treeecc0a4a964f8119bf7dc22dfeec65983ff9f4c58 /scripts
parent3fbf27a3547160f497576e88f11ca8f81f3249b0 (diff)
modpost-should-learn-about-discard-section
modprost should learn about __discard section Fixes : WARNING: ltt/ltt-kprobes.o (__discard): unexpected non-allocatable section. Did you forget to use "ax"/"aw" in a .S file? Note that for example <linux/init.h> contains section definitions for use in .S files. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Diffstat (limited to 'scripts')
-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 e8fba959fff..4b0d2a86b95 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -798,6 +798,7 @@ static const char *section_white_list[] =
".note*",
".got*",
".toc*",
+ "__discard",
NULL
};