modpost: add strict white-listing when referencing sections.
authorQuentin Casasnovas <[email protected]>
Mon, 13 Apr 2015 11:11:04 +0000 (20:41 +0930)
committerRusty Russell <[email protected]>
Mon, 13 Apr 2015 11:32:57 +0000 (21:02 +0930)
commit050e57fd5936eb175cbb7a788252aa6867201120
tree76b3e48f4da1b18a36a0ec947d363ddae785599b
parentcc9e605dc6cb2e32fedae4ac2f61ad3b5f8d623d
modpost: add strict white-listing when referencing sections.

Prints a warning when a section references a section outside a strict
white-list.  This will be useful to print a warning if __ex_table
references a non-executable section.

Signed-off-by: Quentin Casasnovas <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
scripts/mod/modpost.c