diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-09-15 13:10:45 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-17 16:40:57 +0200 |
commit | b26d66f8dace32c46ce58147002964ce8cdfde5f (patch) | |
tree | 8daa3b276e6e6d7fb498eb4782ba319fd2916d45 | |
parent | 4c4eb3ecc91f4fee6d6bf7cfbc1e21f2e38d19ff (diff) | |
download | lwn-b26d66f8dace32c46ce58147002964ce8cdfde5f.tar.gz lwn-b26d66f8dace32c46ce58147002964ce8cdfde5f.zip |
x86/vdso: Ensure all kernel code is seen by objtool
extable.c is kernel code and not part of the VDSO
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111143.512144110@infradead.org
-rw-r--r-- | arch/x86/entry/vdso/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 3e88b9df8c8f..3ef611044c8f 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -33,11 +33,12 @@ vobjs32-y += vdso32/vclock_gettime.o vobjs-$(CONFIG_X86_SGX) += vsgx.o # files to link into kernel -obj-y += vma.o extable.o -KASAN_SANITIZE_vma.o := y -UBSAN_SANITIZE_vma.o := y -KCSAN_SANITIZE_vma.o := y -OBJECT_FILES_NON_STANDARD_vma.o := n +obj-y += vma.o extable.o +KASAN_SANITIZE_vma.o := y +UBSAN_SANITIZE_vma.o := y +KCSAN_SANITIZE_vma.o := y +OBJECT_FILES_NON_STANDARD_vma.o := n +OBJECT_FILES_NON_STANDARD_extable.o := n # vDSO images to build vdso_img-$(VDSO64-y) += 64 |