summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/vdso64/Makefile
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-03-03 02:27:48 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-29 13:09:37 +0200
commitf2af201002a8bc22500c04cc474ea480bf361351 (patch)
treed057b5fc5512ce8e34595a8941bd5cd5c47a9287 /arch/powerpc/kernel/vdso64/Makefile
parentpowerpc: Use fallthrough pseudo-keyword (diff)
downloadlinux-f2af201002a8bc22500c04cc474ea480bf361351.tar.xz
linux-f2af201002a8bc22500c04cc474ea480bf361351.zip
powerpc/build: vdso linker warning for orphan sections
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200303012748.4190929-1-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/kernel/vdso64/Makefile')
-rw-r--r--arch/powerpc/kernel/vdso64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vdso64/Makefile b/arch/powerpc/kernel/vdso64/Makefile
index 32ebb3522ea1..38c317f25141 100644
--- a/arch/powerpc/kernel/vdso64/Makefile
+++ b/arch/powerpc/kernel/vdso64/Makefile
@@ -34,7 +34,7 @@ $(obj)/%.so: $(obj)/%.so.dbg FORCE
# actual build commands
quiet_cmd_vdso64ld = VDSO64L $@
- cmd_vdso64ld = $(CC) $(c_flags) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^)
+ cmd_vdso64ld = $(CC) $(c_flags) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^) $(call cc-ldoption, -Wl$(comma)--orphan-handling=warn)
# install commands for the unstripped file
quiet_cmd_vdso_install = INSTALL $@