Skip to content

Commit

Permalink
kbuild: warn about references from .init.text to .exit.text
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Ravnborg committed Jul 16, 2007
1 parent 1d8af55 commit 6fc53ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,6 @@ static int exit_section_ref_ok(const char *name)
".exit.data",
".exit.text",
".exitcall.exit",
".init.text",
".rodata",
NULL
};
Expand Down

0 comments on commit 6fc53ba

Please sign in to comment.