diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2020-03-03 02:27:48 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-29 13:09:37 +0200 |
commit | f2af201002a8bc22500c04cc474ea480bf361351 (patch) | |
tree | d057b5fc5512ce8e34595a8941bd5cd5c47a9287 /arch/powerpc/kernel/vdso32/Makefile | |
parent | powerpc: Use fallthrough pseudo-keyword (diff) | |
download | linux-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/vdso32/Makefile')
-rw-r--r-- | arch/powerpc/kernel/vdso32/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vdso32/Makefile b/arch/powerpc/kernel/vdso32/Makefile index e147bbdc12cd..87ab1152d5ce 100644 --- a/arch/powerpc/kernel/vdso32/Makefile +++ b/arch/powerpc/kernel/vdso32/Makefile @@ -50,7 +50,7 @@ $(obj-vdso32): %.o: %.S FORCE # actual build commands quiet_cmd_vdso32ld = VDSO32L $@ - cmd_vdso32ld = $(VDSOCC) $(c_flags) $(CC32FLAGS) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^) + cmd_vdso32ld = $(VDSOCC) $(c_flags) $(CC32FLAGS) -o $@ $(call cc-ldoption, -Wl$(comma)--orphan-handling=warn) -Wl,-T$(filter %.lds,$^) $(filter %.o,$^) quiet_cmd_vdso32as = VDSO32A $@ cmd_vdso32as = $(VDSOCC) $(a_flags) $(CC32FLAGS) -c -o $@ $< |