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>
This commit is contained in:
Sam Ravnborg 2007-06-02 21:29:20 +02:00
parent 1d8af559f9
commit 6fc53bae3d
1 changed files with 0 additions and 1 deletions

View File

@ -1214,7 +1214,6 @@ static int exit_section_ref_ok(const char *name)
".exit.data",
".exit.text",
".exitcall.exit",
".init.text",
".rodata",
NULL
};