summaryrefslogtreecommitdiff
path: root/scripts/get_abi.pl
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2020-04-20 19:17:37 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-04-21 00:11:19 +0300
commit7f4b5cde24094127ace370c3c6b82fef65d9f71f (patch)
tree3cca238e30286de592b2cde5cb19251744c9319b /scripts/get_abi.pl
parent2ca1a06a5440ae8aa7bb0709336d759395b7bbb8 (diff)
downloadlinux-7f4b5cde24094127ace370c3c6b82fef65d9f71f.tar.xz
kvm: Disable objtool frame pointer checking for vmenter.S
Frame pointers are completely broken by vmenter.S because it clobbers RBP: arch/x86/kvm/svm/vmenter.o: warning: objtool: __svm_vcpu_run()+0xe4: BP used as a scratch register That's unavoidable, so just skip checking that file when frame pointers are configured in. On the other hand, ORC can handle that code just fine, so leave objtool enabled in the !FRAME_POINTER case. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Message-Id: <01fae42917bacad18be8d2cbc771353da6603473.1587398610.git.jpoimboe@redhat.com> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Fixes: 199cd1d7b534 ("KVM: SVM: Split svm_vcpu_run inline assembly to separate file") Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/get_abi.pl')
0 files changed, 0 insertions, 0 deletions