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:
parent
b511cdd1c1
commit
33dda8c327
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue