]> git.baikalelectronics.ru Git - kernel.git/commit
x86: remove always-defined CONFIG_AS_CFI
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 26 Mar 2020 08:00:51 +0000 (17:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Apr 2020 15:01:59 +0000 (00:01 +0900)
commitc75de4e13674c158b8377f059f6cf663d5af4222
tree8391daadd6a920e987b3b3e714a38e37281ec4b9
parentd29509e46139397be1a067cbca48bbea46a5aeee
x86: remove always-defined CONFIG_AS_CFI

CONFIG_AS_CFI was introduced by commit 62bb84b3121b ("[PATCH] x86:
Detect CFI support in the assembler at runtime"), and extended by
commit a536b6532161 ("x86_64: Check for .cfi_rel_offset in CFI probe").

We raise the minimal supported binutils version from time to time.
The last bump was commit ce1bab184fa9 ("kbuild: Raise the minimum
required binutils version to 2.21").

I confirmed the code in $(call as-instr,...) can be assembled by the
binutils 2.21 assembler and also by LLVM integrated assembler.

Remove CONFIG_AS_CFI, which is always defined.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Makefile
arch/x86/include/asm/dwarf2.h