Patch from Artem Egorkine to support the -m option

This commit is contained in:
Eric Andersen
2003-01-23 04:57:35 +00:00
parent 889dd20c69
commit be65c350ae
3 changed files with 139 additions and 3 deletions

View File

@@ -58,6 +58,27 @@ config CONFIG_FEATURE_INSMOD_LOADINKMEM
help
Please submit a patch to add help text for this item.
config CONFIG_FEATURE_INSMOD_LOAD_MAP
bool " Enable load map (-m) option"
default n
depends on CONFIG_INSMOD
help
Enabling this, one would be able to get a load map
output on stdout. This makes kernel module debugging
easier.
If you don't plan to debug kernel modules, you
don't need this option.
config CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
bool " Symbols in load map"
default y
depends on CONFIG_FEATURE_INSMOD_LOAD_MAP
help
Without this option, -m will only output section
load map.
With this option, -m will also output symbols
load map.
config CONFIG_LSMOD
bool "lsmod"
default n