]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: do not try to match the SHT_NUL section.
authorQuentin Casasnovas <quentin.casasnovas@oracle.com>
Thu, 16 Apr 2015 03:46:41 +0000 (13:16 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 22 Apr 2015 08:01:33 +0000 (17:31 +0930)
commit0b9de6bff478b26b351d801fcab87aee51f79e19
treebfeb5c3f00886e13dd829a6f490f4b30947bfd7c
parent493260cf5226a9b8f7878dd13f073065f40e4b9b
modpost: do not try to match the SHT_NUL section.

Trying to match the SHT_NUL section isn't useful and causes build failures
on parisc and mn10300 since the addition of section strict white-listing
and __ex_table sanitizing.

Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 93d3269339d5 ("modpost: add strict white-listing when referencing....")
Fixes: 2122ca0cd6cd ("modpost: handle relocations mismatch in __ex_table.")
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/mod/modpost.c