OSDN Git Service

ANDROID: arm64: vdso: unconditionally set -Wl,--hash-style=sysv
authorNick Desaulniers <ndesaulniers@google.com>
Tue, 5 Mar 2019 21:36:43 +0000 (13:36 -0800)
committer0ranko0P <ranko0p@outlook.com>
Tue, 24 Dec 2019 20:42:35 +0000 (04:42 +0800)
commit3945e2acd8fbc62da5c04d77fe3a6e5485014ecb
tree82a1d792cd93fe04ea18de86560e5ef4d905fff2
parent1faeef22364129c80eb127fbbba14e2e6f72f657
ANDROID: arm64: vdso: unconditionally set -Wl,--hash-style=sysv

The conditional check through cc-ldoption conflicts with
cfi-clang-flags once set. This is causing failures in
VtsKernelLinuxKselftest#vDSO_kselftest_vdso_test_64bit due to GOLD
defaulting to gnu rather than sysv as the hash style.

Bug: 122343936
Bug: 122902928
Test: m kselftest_vdso_test && \
  adb push $OUT/data/nativetest64/linux-kselftest/vDSO/kselftest_vdso_test /data/local/tmp/ && \
  adb shell /data/local/tmp/kselftest_vdso_test
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ice6ad2f99baa0eba2cc0813ed18486d1d9f4d612
arch/arm64/kernel/vdso/Makefile