diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-06-02 19:29:20 (GMT) |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-07-16 21:24:47 (GMT) |
commit | 6fc53bae3d5940f1b123afa5ad082359b1a376be (patch) | |
tree | 59a45339311e041265819a1e1b3f47a00c0afba8 /scripts | |
parent | 1d8af559f9ffd6847856f74658e501ed7ded9f01 (diff) | |
download | linux-fsl-qoriq-6fc53bae3d5940f1b123afa5ad082359b1a376be.tar.xz |
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 1ef7875..7f5ff7e 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 }; |