Skip to content

Commit c0a5c81

Browse files
nickdesaulnierstorvalds
authored andcommitted
Kconfig.debug: drop GCC 5+ version check for DWARF5
Now that the minimum supported version of GCC is 5.1, we no longer need this Kconfig version check for CONFIG_DEBUG_INFO_DWARF5. Signed-off-by: Nick Desaulniers <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent adac17e commit c0a5c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Kconfig.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ config DEBUG_INFO_DWARF4
295295

296296
config DEBUG_INFO_DWARF5
297297
bool "Generate DWARF Version 5 debuginfo"
298-
depends on GCC_VERSION >= 50000 || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502)))
298+
depends on !CC_IS_CLANG || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502)))
299299
depends on !DEBUG_INFO_BTF
300300
help
301301
Generate DWARF v5 debug info. Requires binutils 2.35.2, gcc 5.0+ (gcc

0 commit comments

Comments
 (0)