]> git.baikalelectronics.ru Git - kernel.git/commit
scripts: add check_extable.sh script.
authorQuentin Casasnovas <quentin.casasnovas@oracle.com>
Mon, 13 Apr 2015 11:14:04 +0000 (20:44 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Apr 2015 11:33:02 +0000 (21:03 +0930)
commitffb937a0386ff252717ef675f0d09253e79af2bd
treecc176f7fdc81d922fec0705e960174207f3346b5
parentea594d34ed4f6299cb9b815e90bac2a0d1174142
scripts: add check_extable.sh script.

This shell script can be used to sanity check the __ex_table section on an
object file, making sure the relocations in there are pointing to valid
executable sections.  If it finds some suspicious relocations, it'll use
addr2line to try and dump where this is coming from.

This works best with CONFIG_DEBUG_INFO.

Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/check_extable.sh [new file with mode: 0755]