summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/Makefile
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2021-01-21 15:29:28 -0600
committerJosh Poimboeuf <jpoimboe@redhat.com>2021-01-26 11:33:01 -0600
commitcde07a4e4434ddfb9b1616ac971edf6d66329804 (patch)
tree5ddd9cabdd3177daa278f9d13b18c8de0460e00e /arch/x86/xen/Makefile
parentc26acfbbfbc2ae4167e33825793e85e1a53058d8 (diff)
downloadlinux-cde07a4e4434ddfb9b1616ac971edf6d66329804.tar.gz
linux-cde07a4e4434ddfb9b1616ac971edf6d66329804.tar.bz2
linux-cde07a4e4434ddfb9b1616ac971edf6d66329804.zip
x86/xen: Support objtool validation in xen-asm.S
The OBJECT_FILES_NON_STANDARD annotation is used to tell objtool to ignore a file. File-level ignores won't work when validating vmlinux.o. Tweak the ELF metadata and unwind hints to allow objtool to follow the code. Cc: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lore.kernel.org/r/8b042a09c69e8645f3b133ef6653ba28f896807d.1611263462.git.jpoimboe@redhat.com
Diffstat (limited to 'arch/x86/xen/Makefile')
-rw-r--r--arch/x86/xen/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
index fc5c5ba4aacb..40b5779fce21 100644
--- a/arch/x86/xen/Makefile
+++ b/arch/x86/xen/Makefile
@@ -1,5 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
-OBJECT_FILES_NON_STANDARD_xen-asm.o := y
ifdef CONFIG_FUNCTION_TRACER
# Do not profile debug and lowlevel utilities