x86: clone Linux'es ASM_CALL_CONSTRAINT
authorJan Beulich <jbeulich@suse.com>
Fri, 17 May 2019 12:35:52 +0000 (14:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 May 2019 12:35:52 +0000 (14:35 +0200)
commite28e639f5d2a541435b871d4e3af0c09b15a5d00
tree0e85285e02252502668c89aa2f6e91ed49d2de2c
parent6bb013e5e50a5a94dc97c6391f20c7f4040eb654
x86: clone Linux'es ASM_CALL_CONSTRAINT

While we don't mean to run their objtool over our generated code, it
still seems desirable to avoid calls to further functions before a
function's frame pointer is set up.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/efi/stub.c
xen/arch/x86/extable.c
xen/arch/x86/x86_emulate/x86_emulate.c
xen/include/asm-x86/asm_defns.h
xen/include/asm-x86/guest/hypercall.h