summary refs log tree commit diff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-02-03 12:02:17 +0100
committerPeter Zijlstra <peterz@infradead.org>2021-02-10 20:53:52 +0100
commitaafeb14e9da29e323b0605f8f1bae0d45d5f3acf (patch)
tree3249ef70672aef580a3535ac7b485a791672307b /arch/x86/lib
parent2a512829840eb97a8b52eca7058e56d484468f2d (diff)
downloadlinux-aafeb14e9da29e323b0605f8f1bae0d45d5f3acf.tar.gz
objtool: Support stack-swizzle
Natively support the stack swizzle pattern:

	mov %rsp, (%[tos])
	mov %[tos], %rsp
	...
	pop %rsp

It uses the vals[] array to link the first two stack-ops, and detect
the SP to SP_INDIRECT swizzle.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions