[PATCH] unhide CONFIG_DEBUG_SECTION_MISMATCH
From: Erez Zadok
Date: Thu Feb 14 2008 - 15:54:25 EST
Using: v2.6.25-rc1-120-ge760e71
In a normal compilation, I might this message:
...
MODPOST vmlinux.o
WARNING: modpost: Found 4 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
...
I can indeed try to re-make, passing CONFIG_DEBUG_SECTION_MISMATCH=y on the
command line, but I can't turn on the option in my .config. That's because
the option depends on "UNDEFINED". (Was that an attempt to "hide" the
option? Why?) The following small patch allows me to set the option in my
.config.
Cheers,
Erez.
Signed-off-by: Erez Zadok <ezk@xxxxxxxxxxxxx>
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index a370fe8..3399d9d 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -81,7 +81,6 @@ config HEADERS_CHECK
config DEBUG_SECTION_MISMATCH
bool "Enable full Section mismatch analysis"
- depends on UNDEFINED
help
The section mismatch analysis checks if there are illegal
references from one section to another section.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/