]> git.itanic.dy.fi Git - linux-stable/blobdiff - lib/Kconfig.debug
Makefile.debug: re-enable debug info for .S files
[linux-stable] / lib / Kconfig.debug
index 2e24db4bff1921483ad1bd1e181d242e6cd55345..c399ab486557f09b4b061d2b07bdc9b480bd56fe 100644 (file)
@@ -264,8 +264,10 @@ config DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
 config DEBUG_INFO_DWARF4
        bool "Generate DWARF Version 4 debuginfo"
        select DEBUG_INFO
+       depends on !CC_IS_CLANG || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502)))
        help
-         Generate DWARF v4 debug info. This requires gcc 4.5+ and gdb 7.0+.
+         Generate DWARF v4 debug info. This requires gcc 4.5+, binutils 2.35.2
+         if using clang without clang's integrated assembler, and gdb 7.0+.
 
          If you have consumers of DWARF debug info that are not ready for
          newer revisions of DWARF, you may wish to choose this or have your