powerpc/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@socionext.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Nick Desaulniers 2019-04-23 14:11:14 -07:00 committed by Michael Ellerman
parent b511cdd1c1
commit 33dda8c327
2 changed files with 4 additions and 6 deletions

View File

@ -26,9 +26,8 @@ GCOV_PROFILE := n
KCOV_INSTRUMENT := n KCOV_INSTRUMENT := n
UBSAN_SANITIZE := n UBSAN_SANITIZE := n
ccflags-y := -shared -fno-common -fno-builtin ccflags-y := -shared -fno-common -fno-builtin -nostdlib \
ccflags-y += -nostdlib -Wl,-soname=linux-vdso32.so.1 \ -Wl,-soname=linux-vdso32.so.1 -Wl,--hash-style=both
$(call cc-ldoption, -Wl$(comma)--hash-style=both)
asflags-y := -D__VDSO32__ -s asflags-y := -D__VDSO32__ -s
obj-y += vdso32_wrapper.o obj-y += vdso32_wrapper.o

View File

@ -12,9 +12,8 @@ GCOV_PROFILE := n
KCOV_INSTRUMENT := n KCOV_INSTRUMENT := n
UBSAN_SANITIZE := n UBSAN_SANITIZE := n
ccflags-y := -shared -fno-common -fno-builtin ccflags-y := -shared -fno-common -fno-builtin -nostdlib \
ccflags-y += -nostdlib -Wl,-soname=linux-vdso64.so.1 \ -Wl,-soname=linux-vdso64.so.1 -Wl,--hash-style=both
$(call cc-ldoption, -Wl$(comma)--hash-style=both)
asflags-y := -D__VDSO64__ -s asflags-y := -D__VDSO64__ -s
obj-y += vdso64_wrapper.o obj-y += vdso64_wrapper.o