Commit 6fc53bae authored by Sam Ravnborg's avatar Sam Ravnborg

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 1d8af559
......@@ -1214,7 +1214,6 @@ static int exit_section_ref_ok(const char *name)
".exit.data",
".exit.text",
".exitcall.exit",
".init.text",
".rodata",
NULL
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment