modpost: add strict white-listing when referencing sections.
authorQuentin Casasnovas <quentin.casasnovas@oracle.com>
Mon, 13 Apr 2015 11:11:04 +0000 (20:41 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
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 <quentin.casasnovas@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/mod/modpost.c