mirror of https://gitee.com/openkylin/linux.git
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:
parent
1d8af559f9
commit
6fc53bae3d
|
@ -1214,7 +1214,6 @@ static int exit_section_ref_ok(const char *name)
|
|||
".exit.data",
|
||||
".exit.text",
|
||||
".exitcall.exit",
|
||||
".init.text",
|
||||
".rodata",
|
||||
NULL
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue