]> Git Repo - linux.git/commitdiff
mips: vdso: drop unnecessary cc-ldoption
authorNick Desaulniers <[email protected]>
Tue, 23 Apr 2019 20:55:19 +0000 (13:55 -0700)
committerPaul Burton <[email protected]>
Tue, 23 Apr 2019 21:53:54 +0000 (14:53 -0700)
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.

--build-id was added in 2.18 according to binutils-gdb/ld/NEWS.

Link: https://gcc.gnu.org/ml/gcc/2007-01/msg01141.html
Cc: [email protected]
Suggested-by: Masahiro Yamada <[email protected]>
Signed-off-by: Nick Desaulniers <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Matt Redfearn <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Hassan Naveed <[email protected]>
Cc: [email protected]
Cc: [email protected]
arch/mips/vdso/Makefile

index 0ede4deb8181ce20300f6bc12cfffaf683b99684..7221df24cb23c781249604ead6aae311d5fa6be0 100644 (file)
@@ -46,9 +46,7 @@ endif
 VDSO_LDFLAGS := \
        -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-soname=linux-vdso.so.1 \
        $(addprefix -Wl$(comma),$(filter -E%,$(KBUILD_CFLAGS))) \
-       -nostdlib -shared \
-       $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) \
-       $(call cc-ldoption, -Wl$(comma)--build-id)
+       -nostdlib -shared -Wl,--hash-style=sysv -Wl,--build-id
 
 GCOV_PROFILE := n
 UBSAN_SANITIZE := n
This page took 0.059354 seconds and 4 git commands to generate.