linux/tools/objtool/arch/x86
Raphael Gault d871f7b5a6 objtool: Refactor jump table code to support other architectures
The way to identify jump tables and retrieve all the data necessary to
handle the different execution branches is not the same on all
architectures.  In order to be able to add other architecture support,
define an arch-dependent function to process jump-tables.

Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Raphael Gault <raphael.gault@arm.com>
[J.T.: Move arm64 bits out of this patch,
       Have only one function to find the start of the jump table,
       for now assume that the jump table format will be the same as
       x86]
Signed-off-by: Julien Thierry <jthierry@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
2020-09-10 10:43:13 -05:00
..
include objtool: Move macros describing structures to arch-dependent code 2020-09-10 10:43:13 -05:00
Build objtool: Abstract alternative special case handling 2020-09-10 10:43:13 -05:00
decode.c Merge branch 'objtool/urgent' into objtool/core 2020-06-18 17:55:29 +02:00
special.c objtool: Refactor jump table code to support other architectures 2020-09-10 10:43:13 -05:00