x86: um: vdso: drop unnecessary cc-ldoption
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Signed-off-by Nick Desaulniers <[email protected]>
--- arch/x86/um/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/um/vdso/Makefile +1 -1
@@ -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 #
Signature · 1 line
2.21.0.593.g511ec345e18-goog
tip-bot for Nick Desaulniers
merge bot[tip:x86/asm] x86/um/vdso: Drop unnecessary cc-ldoption
x86/um/vdso: Drop unnecessary cc-ldoption
Commit-ID: 3855f11d54a07256cc4a6fb85c692000208a73a7 Gitweb: https://git.kernel.org/tip/3855f11d54a07256cc4a6fb85c692000208a73a7 Author: Nick Desaulniers <[email protected]> AuthorDate: Tue, 23 Apr 2019 14:15:53 -0700 Committer: Ingo Molnar <[email protected]> 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 <[email protected]>
Signed-off-by Nick Desaulniers <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/um/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/um/vdso/Makefile +1 -1
@@ -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 #