objtool,x86: Additionally decode: mov %rsp, (%reg)
authorPeter Zijlstra <peterz@infradead.org>
Wed, 3 Feb 2021 11:02:18 +0000 (12:02 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 10 Feb 2021 19:53:52 +0000 (20:53 +0100)
commit2a512829840eb97a8b52eca7058e56d484468f2d
treea111850203ad7686b58965742c5b44650af22c9a
parent87ccc826bf1c9e5ab4c2f649b404e02c63e47622
objtool,x86: Additionally decode: mov %rsp, (%reg)

Where we already decode: mov %rsp, %reg, also decode mov %rsp, (%reg).

Nothing should match for this new stack-op.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
tools/objtool/arch/x86/decode.c