From: Michal Marek <mmarek@suse.cz>
Date: Mon, 21 Mar 2011 09:44:30 +0000 (+0100)
Subject: kbuild: Make DEBUG_SECTION_MISMATCH selectable, but not on by default
X-Git-Tag: firefly_0821_release~7613^2~2119^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f2c23f65f63fe0dd83fc94efdfae0364c74458b8;p=firefly-linux-kernel-4.4.55.git

kbuild: Make DEBUG_SECTION_MISMATCH selectable, but not on by default

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>
---

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 8b6a4f13946f..5a24805d4321 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -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.