kbuild: Make DEBUG_SECTION_MISMATCH selectable, but not on by default
authorMichal Marek <mmarek@suse.cz>
Mon, 21 Mar 2011 09:44:30 +0000 (10:44 +0100)
committerMichal Marek <mmarek@suse.cz>
Mon, 21 Mar 2011 09:47:58 +0000 (10:47 +0100)
CONFIG_DEBUG_SECTION_MISMATCH has also runtime effects due to the
-fno-inline-functions-called-once compiler flag, so forcing it on
everyone is not a good idea.

Signed-off-by: Michal Marek <mmarek@suse.cz>
lib/Kconfig.debug

index 8b6a4f1..5a24805 100644 (file)
@@ -102,7 +102,6 @@ config HEADERS_CHECK
 
 config DEBUG_SECTION_MISMATCH
        bool "Enable full Section mismatch analysis"
-       default y
        help
          The section mismatch analysis checks if there are illegal
          references from one section to another section.