aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-03-16 10:13:45 +0100
committerPeter Zijlstra <[email protected]>2020-03-25 18:28:27 +0100
commitfc8bd77d6476d7733ace9e03093b4acaee6e0605 (patch)
tree0adc3f8653612dcfa4748ff7be3c1dbd54041a37 /tools/perf/scripts/python/check-perf-trace.py
parentf0f70adb78108a0cbc321a07133cd78ea4f84699 (diff)
x86/kexec: Use RIP relative addressing
Normally identity_mapped is not visible to objtool, due to: arch/x86/kernel/Makefile:OBJECT_FILES_NON_STANDARD_relocate_kernel_$(BITS).o := y However, when we want to run objtool on vmlinux.o there is no hiding it: vmlinux.o: warning: objtool: .text+0x4c0f1: unsupported intra-function call Replace the (i386 inspired) pattern: call 1f 1: popq %r8 subq $(1b - relocate_kernel), %r8 With a x86_64 RIP-relative LEA: leaq relocate_kernel(%rip), %r8 Suggested-by: Brian Gerst <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Miroslav Benes <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions