linux/tools/objtool
Julien Thierry 45245f51f9 objtool: Make relocation in alternative handling arch dependent
As pointed out by the comment in handle_group_alt(), support of
relocation for instructions in an alternative group depends on whether
arch specific kernel code handles it.

So, let objtool arch specific code decide whether a relocation for
the alternative section should be accepted.

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-10 10:43:13 -05:00
..
arch/x86 objtool: Make relocation in alternative handling arch dependent 2020-09-10 10:43:13 -05: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 objtool: Define 'struct orc_entry' only when needed 2020-09-01 17:19:12 -05:00
Build objtool: Enable compilation of objtool for all architectures 2020-05-20 09:17:28 -05:00
builtin-check.c objtool: Move ORC logic out of check() 2020-09-01 17:19:11 -05:00
builtin-orc.c objtool: Move ORC logic out of check() 2020-09-01 17:19:11 -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: Make relocation in alternative handling arch dependent 2020-09-10 10:43:13 -05:00
check.h objtool: Make relocation in alternative handling arch dependent 2020-09-10 10:43:13 -05: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: Define 'struct orc_entry' only when needed 2020-09-01 17:19:12 -05:00
objtool.c objtool: Move object file loading out of check() 2020-09-01 17:19:07 -05:00
objtool.h objtool: Abstract alternative special case handling 2020-09-10 10:43:13 -05:00
orc_dump.c objtool: Enable compilation of objtool for all architectures 2020-05-20 09:17:28 -05:00
orc_gen.c objtool: Skip ORC entry creation for non-text sections 2020-09-01 17:19:11 -05:00
special.c objtool: Abstract alternative special case handling 2020-09-10 10:43:13 -05:00
special.h objtool: Make relocation in alternative handling arch dependent 2020-09-10 10:43:13 -05:00
sync-check.sh objtool: Make sync-check consider the target architecture 2020-09-10 10:43:13 -05:00
warn.h objtool: Rename find_containing_func() 2020-03-25 18:28:29 +01:00
weak.c objtool: Abstract alternative special case handling 2020-09-10 10:43:13 -05:00