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 8b6a4f13946f43cecaaa0cfa87dd21c29dc0502a..5a24805d4321cc744bd2a44756a97dc14c1be99b 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.