diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-02 14:14:39 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-03 07:42:26 +0200 |
commit | 4c62285439f80f8996c38e0bda79b1125a192365 (patch) | |
tree | 944b22cc5dde473956570502f4dd414e052f2443 /arch/powerpc/kernel/vdso64/Makefile | |
parent | powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc (diff) | |
download | linux-4c62285439f80f8996c38e0bda79b1125a192365.tar.xz linux-4c62285439f80f8996c38e0bda79b1125a192365.zip |
Revert "powerpc/build: vdso linker warning for orphan sections"
This reverts commit f2af201002a8bc22500c04cc474ea480bf361351.
It added a usage of cc-ldoption, but cc-ldoption was removed in commit
055efab3120b ("kbuild: drop support for cc-ldoption").
Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/vdso64/Makefile')
-rw-r--r-- | arch/powerpc/kernel/vdso64/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vdso64/Makefile b/arch/powerpc/kernel/vdso64/Makefile index 38c317f25141..32ebb3522ea1 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,$^) $(call cc-ldoption, -Wl$(comma)--orphan-handling=warn) + cmd_vdso64ld = $(CC) $(c_flags) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^) # install commands for the unstripped file quiet_cmd_vdso_install = INSTALL $@ |