[tip:x86/asm] x86/um/vdso: Drop unnecessary cc-ldoption

From: tip-bot for Nick Desaulniers
Date: Wed Apr 24 2019 - 07:12:35 EST


Commit-ID: 3855f11d54a07256cc4a6fb85c692000208a73a7
Gitweb: https://git.kernel.org/tip/3855f11d54a07256cc4a6fb85c692000208a73a7
Author: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
AuthorDate: Tue, 23 Apr 2019 14:15:53 -0700
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Wed, 24 Apr 2019 12:22:33 +0200

x86/um/vdso: Drop unnecessary cc-ldoption

Towards the goal of removing cc-ldoption, it seems that --hash-style=
was added to binutils 2.17.50.0.2 in 2006. The minimal required version
of binutils for the kernel according to
Documentation/process/changes.rst is 2.20.

Suggested-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: anton.ivanov@xxxxxxxxxxxxxxxxxx
Cc: clang-built-linux@xxxxxxxxxxxxxxxx
Cc: jdike@xxxxxxxxxxx
Cc: linux-um@xxxxxxxxxxxxxxxxxxx
Cc: richard@xxxxxx
Link: http://lkml.kernel.org/r/20190423211554.1594-1-ndesaulniers@xxxxxxxxxx
Link: https://gcc.gnu.org/ml/gcc/2007-01/msg01141.html
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/um/vdso/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile
index bf94060fc06f..0caddd6acb22 100644
--- a/arch/x86/um/vdso/Makefile
+++ b/arch/x86/um/vdso/Makefile
@@ -62,7 +62,7 @@ quiet_cmd_vdso = VDSO $@
-Wl,-T,$(filter %.lds,$^) $(filter %.o,$^) && \
sh $(srctree)/$(src)/checkundef.sh '$(NM)' '$@'

-VDSO_LDFLAGS = -fPIC -shared $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
+VDSO_LDFLAGS = -fPIC -shared -Wl,--hash-style=sysv
GCOV_PROFILE := n

#