diff options
| author | Peter Zijlstra <[email protected]> | 2021-02-03 11:02:17 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-02-10 19:53:52 +0000 |
| commit | aafeb14e9da29e323b0605f8f1bae0d45d5f3acf (patch) | |
| tree | 3249ef70672aef580a3535ac7b485a791672307b /arch/x86/entry/common.c | |
| parent | objtool,x86: Additionally decode: mov %rsp, (%reg) (diff) | |
| download | kernel-aafeb14e9da29e323b0605f8f1bae0d45d5f3acf.tar.gz kernel-aafeb14e9da29e323b0605f8f1bae0d45d5f3acf.zip | |
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) <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'arch/x86/entry/common.c')
0 files changed, 0 insertions, 0 deletions
