summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/armv8_deprecated.c
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2020-03-19 11:19:51 -0700
committerCatalin Marinas <catalin.marinas@arm.com>2020-03-20 15:01:04 +0000
commit3b446c7d27ddd06342901bb35211363f6944291a (patch)
tree4b12fffedeee42e3d9242409c51eb585c9e1b0e5 /arch/arm64/kernel/armv8_deprecated.c
parent6cb6982f42cbfaf5e50af1069451a8828231ffb9 (diff)
downloadlinux-3b446c7d27ddd06342901bb35211363f6944291a.tar.bz2
arm64: Kconfig: verify binutils support for ARM64_PTR_AUTH
Clang relies on GNU as from binutils to assemble the Linux kernel, currently. A recent patch to enable the armv8.3-a extension for pointer authentication checked for compiler support of the relevant flags. Everything works with binutils 2.34+, but for older versions we observe assembler errors: /tmp/vgettimeofday-36a54b.s: Assembler messages: /tmp/vgettimeofday-36a54b.s:40: Error: unknown pseudo-op: `.cfi_negate_ra_state' When compiling with Clang, require the assembler to support .cfi_negate_ra_state directives, in order to support CONFIG_ARM64_PTR_AUTH. Link: https://github.com/ClangBuiltLinux/linux/issues/938 Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'arch/arm64/kernel/armv8_deprecated.c')
0 files changed, 0 insertions, 0 deletions