aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-06-02 21:29:20 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-07-16 23:24:47 +0200
commit6fc53bae3d5940f1b123afa5ad082359b1a376be (patch)
tree59a45339311e041265819a1e1b3f47a00c0afba8 /scripts
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')
-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)
".exit.data",
".exit.text",
".exitcall.exit",
- ".init.text",
".rodata",
NULL
};