aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-06-02 15:29:20 -0400
committerSam Ravnborg <sam@ravnborg.org>2007-07-16 17:24:47 -0400
commit6fc53bae3d5940f1b123afa5ad082359b1a376be (patch)
tree59a45339311e041265819a1e1b3f47a00c0afba8 /scripts/mod
parent1d8af559f9ffd6847856f74658e501ed7ded9f01 (diff)
kbuild: warn about references from .init.text to .exit.text
The .exit.text section may be discarded either at build or at runtime. So let modpost warn if this situation is detected. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 1ef78753db9..7f5ff7e0a0f 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1214,7 +1214,6 @@ static int exit_section_ref_ok(const char *name)
1214 ".exit.data", 1214 ".exit.data",
1215 ".exit.text", 1215 ".exit.text",
1216 ".exitcall.exit", 1216 ".exitcall.exit",
1217 ".init.text",
1218 ".rodata", 1217 ".rodata",
1219 NULL 1218 NULL
1220 }; 1219 };