Skip to content

Commit b365661

Browse files
masahir0yIngo Molnar
authored andcommitted
x86/build/vdso: Remove unused $(vobjs-nox32) in Makefile
Since commit bfad381 ("x86/vdso: Improve the fake section headers"), $(vobjs-nox32) is empty. Therefore, $(vobjs64-for-x32) is the same as $(vobjs-y). Signed-off-by: Masahiro Yamada <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 2a7ffe4 commit b365661

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

arch/x86/entry/vdso/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,8 @@ VDSO_LDFLAGS_vdsox32.lds = -Wl,-m,elf32_x86_64 \
100100
-Wl,-z,max-page-size=4096 \
101101
-Wl,-z,common-page-size=4096
102102

103-
# 64-bit objects to re-brand as x32
104-
vobjs64-for-x32 := $(filter-out $(vobjs-nox32),$(vobjs-y))
105-
106103
# x32-rebranded versions
107-
vobjx32s-y := $(vobjs64-for-x32:.o=-x32.o)
104+
vobjx32s-y := $(vobjs-y:.o=-x32.o)
108105

109106
# same thing, but in the output directory
110107
vobjx32s := $(foreach F,$(vobjx32s-y),$(obj)/$F)

0 commit comments

Comments
 (0)