linux_dsm_epyc7002/tools/objtool
Miroslav Benes b490f45362 objtool: Move the IRET hack into the arch decoder
Quoting Julien:

  "And the other suggestion is my other email was that you don't even
  need to add INSN_EXCEPTION_RETURN. You can keep IRET as
  INSN_CONTEXT_SWITCH by default and x86 decoder lookups the symbol
  conaining an iret. If it's a function symbol, it can just set the type
  to INSN_OTHER so that it caries on to the next instruction after
  having handled the stack_op."

Suggested-by: Julien Thierry <jthierry@redhat.com>
Signed-off-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20200428191659.913283807@infradead.org
2020-04-30 20:14:33 +02:00
..
arch/x86 objtool: Move the IRET hack into the arch decoder 2020-04-30 20:14:33 +02:00
Documentation objtool: Fix ORC vs alternatives 2020-04-30 20:14:31 +02:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
arch.h objtool: Move the IRET hack into the arch decoder 2020-04-30 20:14:33 +02:00
Build objtool: Optimize find_symbol_*() and read_symbols() 2020-03-25 18:28:29 +01:00
builtin-check.c objtool: Implement noinstr validation 2020-04-22 10:53:50 +02:00
builtin-orc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02: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 the IRET hack into the arch decoder 2020-04-30 20:14:33 +02:00
check.h objtool: Uniquely identify alternative instruction groups 2020-04-30 20:14:31 +02:00
elf.c objtool: Move the IRET hack into the arch decoder 2020-04-30 20:14:33 +02:00
elf.h objtool: Move the IRET hack into the arch decoder 2020-04-30 20:14:33 +02:00
Makefile objtool: Split out arch-specific CFI definitions 2020-04-22 10:53:49 +02:00
objtool.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
orc_dump.c objtool: Support Clang non-section symbols in ORC dump 2020-04-14 11:59:52 +02:00
orc_gen.c objtool: Optimize !vmlinux.o again 2020-04-22 10:53:50 +02:00
orc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
special.c objtool: Optimize read_sections() 2020-03-25 18:28:30 +01:00
special.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
sync-check.sh objtool: Silence build output 2020-01-22 07:54:34 +01:00
warn.h objtool: Rename find_containing_func() 2020-03-25 18:28:29 +01:00