Skip to content

Commit b587fef

Browse files
dkaplan2bp3tk0v
authored andcommitted
x86/vdso: Run objtool on vdso32-setup.o
vdso32-setup.c is part of the main kernel image and should not be excluded from objtool. Objtool is necessary in part for ensuring that returns in this file are correctly patched to the appropriate return thunk at runtime. Signed-off-by: David Kaplan <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Acked-by: Borislav Petkov (AMD) <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 34de4fe commit b587fef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/x86/entry/vdso/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ vdso_img-$(VDSO64-y) += 64
4242
vdso_img-$(VDSOX32-y) += x32
4343
vdso_img-$(VDSO32-y) += 32
4444

45-
obj-$(VDSO32-y) += vdso32-setup.o
45+
obj-$(VDSO32-y) += vdso32-setup.o
46+
OBJECT_FILES_NON_STANDARD_vdso32-setup.o := n
4647

4748
vobjs := $(foreach F,$(vobjs-y),$(obj)/$F)
4849
vobjs32 := $(foreach F,$(vobjs32-y),$(obj)/$F)

0 commit comments

Comments
 (0)