]> 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)
commit1c6fba3a68e609052ef43a86746d5713c513d80f
treecc176f7fdc81d922fec0705e960174207f3346b5
parent50ef1b3d44b95578e5e9960244a97199c08d92c4
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]