diff options
author | Peter Zijlstra <[email protected]> | 2020-05-12 18:17:12 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 15:14:40 +0200 |
commit | 1c3e5d3f60e26415d4227aa1193cf9e2db4df834 (patch) | |
tree | 243f10f5e8d725c4417529c8d5f514f31fb06adf /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a7ef9ba986b5fae9d80f8a7b31db0423687efe4e (diff) |
x86/entry: Make entry_64_compat.S objtool clean
Currently entry_64_compat is exempt from objtool, but with vmlinux
mode there is no hiding it.
Make the following changes to make it pass:
- change entry_SYSENTER_compat to STT_NOTYPE; it's not a function
and doesn't have function type stack setup.
- mark all STT_NOTYPE symbols with UNWIND_HINT_EMPTY; so we do
validate them and don't treat them as unreachable.
- don't abuse RSP as a temp register, this confuses objtool
mightily as it (rightfully) thinks we're doing unspeakable
things to the stack.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Alexandre Chartre <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions