summaryrefslogtreecommitdiffstats
path: root/tools/objtool/builtin.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-03-25 14:04:45 +0100
committerIngo Molnar <mingo@kernel.org>2020-04-22 10:53:50 +0200
commite7c0219b328c96746767f21b9532eed6a48f61c5 (patch)
tree1947692e76fbe7f377b5cac9b674fc5027b5c44c /tools/objtool/builtin.h
parenta3608f5954d07a40fb93764dc6d06195fa52eb14 (diff)
objtool: Fix !CFI insn_state propagation
Objtool keeps per instruction CFI state in struct insn_state and will save/restore this where required. However, insn_state has grown some !CFI state, and this must not be saved/restored (that would loose/destroy state). Fix this by moving the CFI specific parts of insn_state into struct cfi_state. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200416115119.045821071@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/objtool/builtin.h')
0 files changed, 0 insertions, 0 deletions