diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-06-02 21:29:20 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-07-16 23:24:47 +0200 |
commit | 6fc53bae3d5940f1b123afa5ad082359b1a376be (patch) | |
tree | 59a45339311e041265819a1e1b3f47a00c0afba8 /scripts | |
parent | 1d8af559f9ffd6847856f74658e501ed7ded9f01 (diff) | |
download | blackbird-op-linux-6fc53bae3d5940f1b123afa5ad082359b1a376be.tar.gz blackbird-op-linux-6fc53bae3d5940f1b123afa5ad082359b1a376be.zip |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 1ef78753db97..7f5ff7e0a0f3 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 }; |