OSDN Git Service

x86: remove always-defined CONFIG_AS_CFI_SECTIONS
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 26 Mar 2020 08:00:53 +0000 (17:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Apr 2020 15:01:59 +0000 (00:01 +0900)
commit48e24723d0b54a2c9e53dd96c8864cc0afc7b0ee
treefe693da817231fd041581077568a0da1fad928fb
parent46427f658e90eda40b85313b5cff05bdc56c1988
x86: remove always-defined CONFIG_AS_CFI_SECTIONS

CONFIG_AS_CFI_SECTIONS was introduced by commit 9e565292270a ("x86:
Use .cfi_sections for assembly code").

We raise the minimal supported binutils version from time to time.
The last bump was commit 1fb12b35e5ff ("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_SECTIONS, 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