objtool,x86: Rewrite LEAVE
authorPeter Zijlstra <peterz@infradead.org>
Tue, 9 Feb 2021 20:41:13 +0000 (21:41 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 6 Mar 2021 11:44:23 +0000 (12:44 +0100)
commitffc7e74f36a2c7424da262a32a0bbe59669677ef
tree40cd183b2b1229387de2e1c5f0fd7ea1961a57df
parent2ee0c363492f1acc1082125218e6a80c0d7d502b
objtool,x86: Rewrite LEAVE

Since we can now have multiple stack-ops per instruction, we don't
need to special case LEAVE and can simply emit the composite
operations.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lkml.kernel.org/r/20210211173627.253273977@infradead.org
tools/objtool/arch/x86/decode.c
tools/objtool/check.c
tools/objtool/include/objtool/arch.h