diff options
author | Peter Zijlstra | 2021-02-03 12:02:17 +0100 |
---|---|---|
committer | Peter Zijlstra | 2021-02-10 20:53:52 +0100 |
commit | aafeb14e9da29e323b0605f8f1bae0d45d5f3acf (patch) | |
tree | 3249ef70672aef580a3535ac7b485a791672307b /mm/init-mm.c | |
parent | 2a512829840eb97a8b52eca7058e56d484468f2d (diff) |
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 'mm/init-mm.c')
0 files changed, 0 insertions, 0 deletions