diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-02-03 14:02:17 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-02-10 22:53:52 +0300 |
commit | aafeb14e9da29e323b0605f8f1bae0d45d5f3acf (patch) | |
tree | 3249ef70672aef580a3535ac7b485a791672307b /scripts/cleanpatch | |
parent | 2a512829840eb97a8b52eca7058e56d484468f2d (diff) | |
download | linux-aafeb14e9da29e323b0605f8f1bae0d45d5f3acf.tar.xz |
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 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions