modpost: handle -ffunction-sections
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 15 Apr 2015 03:58:08 +0000 (13:28 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 22 Apr 2015 08:01:31 +0000 (17:31 +0930)
commit6c730bfc894f5d4989c2c1493512d3330402be94
treef9127992688ef46dfd8f5f979e137ab8d92d4584
parentd7e0abcf4c6d9fc4ebb948c9bbc880b2483434b4
modpost: handle -ffunction-sections

52dc0595d540 introduced OTHER_TEXT_SECTIONS for identifying what
sections could validly have __ex_table entries.  Unfortunately, it
wasn't tested with -ffunction-sections, which some architectures
use.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/mod/modpost.c