linux-stable/tools/objtool
Julien Thierry 6545eb030e objtool: Move object file loading out of check()
Structure objtool_file can be used by different subcommands. In fact
it already is, by check and orc.

Provide a function that allows to initialize objtool_file, that builtin
can call, without relying on check to do the correct setup for them and
explicitly hand the objtool_file to them.

Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Julien Thierry <jthierry@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
2020-09-01 17:19:07 -05:00
..
arch/x86 Merge branch 'objtool/urgent' into objtool/core 2020-06-18 17:55:29 +02:00
Documentation objtool: Add support for intra-function calls 2020-04-30 20:14:33 +02:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
arch.h Merge branch 'objtool/urgent' into objtool/core 2020-06-18 17:55:29 +02:00
Build objtool: Enable compilation of objtool for all architectures 2020-05-20 09:17:28 -05:00
builtin-check.c objtool: Move object file loading out of check() 2020-09-01 17:19:07 -05:00
builtin-orc.c objtool: Move object file loading out of check() 2020-09-01 17:19:07 -05:00
builtin.h objtool: Implement noinstr validation 2020-04-22 10:53:50 +02:00
cfi.h objtool: Fix !CFI insn_state propagation 2020-04-22 10:53:50 +02:00
check.c objtool: Move object file loading out of check() 2020-09-01 17:19:07 -05:00
check.h x86/static_call: Add inline static call implementation for x86-64 2020-09-01 09:58:05 +02:00
elf.c x86/static_call: Add inline static call implementation for x86-64 2020-09-01 09:58:05 +02:00
elf.h x86/static_call: Add inline static call implementation for x86-64 2020-09-01 09:58:05 +02:00
Makefile objtool: Enable compilation of objtool for all architectures 2020-05-20 09:17:28 -05:00
objtool.c objtool: Move object file loading out of check() 2020-09-01 17:19:07 -05:00
objtool.h objtool: Move object file loading out of check() 2020-09-01 17:19:07 -05:00
orc_dump.c objtool: Enable compilation of objtool for all architectures 2020-05-20 09:17:28 -05:00
orc_gen.c x86/static_call: Add inline static call implementation for x86-64 2020-09-01 09:58:05 +02:00
special.c objtool: Rename rela to reloc 2020-06-01 09:40:58 -05:00
special.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
sync-check.sh x86/static_call: Add inline static call implementation for x86-64 2020-09-01 09:58:05 +02:00
warn.h objtool: Rename find_containing_func() 2020-03-25 18:28:29 +01:00
weak.c objtool: Move object file loading out of check() 2020-09-01 17:19:07 -05:00