diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-03-26 11:00:53 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-08 18:01:59 +0300 |
commit | 48e24723d0b54a2c9e53dd96c8864cc0afc7b0ee (patch) | |
tree | fe693da817231fd041581077568a0da1fad928fb /arch/x86/include/asm/dwarf2.h | |
parent | 46427f658e90eda40b85313b5cff05bdc56c1988 (diff) | |
download | linux-48e24723d0b54a2c9e53dd96c8864cc0afc7b0ee.tar.xz |
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>
Diffstat (limited to 'arch/x86/include/asm/dwarf2.h')
-rw-r--r-- | arch/x86/include/asm/dwarf2.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/dwarf2.h b/arch/x86/include/asm/dwarf2.h index 882db09d5dfb..430fca13bb56 100644 --- a/arch/x86/include/asm/dwarf2.h +++ b/arch/x86/include/asm/dwarf2.h @@ -21,7 +21,6 @@ #define CFI_UNDEFINED .cfi_undefined #define CFI_ESCAPE .cfi_escape -#if defined(CONFIG_AS_CFI_SECTIONS) #ifndef BUILD_VDSO /* * Emit CFI data in .debug_frame sections, not .eh_frame sections. @@ -38,6 +37,5 @@ */ .cfi_sections .eh_frame, .debug_frame #endif -#endif #endif /* _ASM_X86_DWARF2_H */ |