commit | 6fc53bae3d5940f1b123afa5ad082359b1a376be | [log] [tgz] |
---|---|---|
author | Sam Ravnborg <sam@ravnborg.org> | Sat Jun 02 21:29:20 2007 +0200 |
committer | Sam Ravnborg <sam@ravnborg.org> | Mon Jul 16 23:24:47 2007 +0200 |
tree | 59a45339311e041265819a1e1b3f47a00c0afba8 | |
parent | 1d8af559f9ffd6847856f74658e501ed7ded9f01 [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>
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 1ef7875..7f5ff7e 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c
@@ -1214,7 +1214,6 @@ ".exit.data", ".exit.text", ".exitcall.exit", - ".init.text", ".rodata", NULL };