]> xenbits.xensource.com Git - people/andrewcoop/xen-test-framework.git/commit
Pass _ASM_EXTABLE_HANDLER() references by asm() parameter
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Apr 2017 10:38:50 +0000 (11:38 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Apr 2017 17:41:22 +0000 (18:41 +0100)
commite399b894f042d3f50d07a8619f7d7e7de410351d
tree3f4d0784cccc959b9704c405d629d51e57fec05f
parent0a33ff2565a0df342b9efbfb23eec133ae52a747
Pass _ASM_EXTABLE_HANDLER() references by asm() parameter

... rather than embedding a reference directly.  This makes LTO aware of the
reference (rather than finding no C-level references, dropping the functions
and subsequently failing to link), and allows local fault handlers to be
static.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/include/arch/extable.h
arch/x86/include/arch/lib.h
tests/cpuid-faulting/main.c
tests/fpu-exception-emulation/main.c
tests/xsa-173/main.c
tests/xsa-186/main.c
tests/xsa-191/main.c
tests/xsa-192/main.c
tests/xsa-196/main.c
tests/xsa-200/main.c