]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: add CONFIG_VMLINUX_MAP expert option
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Fri, 5 Mar 2021 09:27:07 +0000 (10:27 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 20:12:26 +0000 (05:12 +0900)
commitaf830632664ce6b3303d7ef34c5341a6134735ed
treeeba8bcc358486f5d2a030ef1742e52849e2019a5
parent8d88c2f79d610c9ed07baf371126d1db429a00ff
kbuild: add CONFIG_VMLINUX_MAP expert option

It can be quite useful to have ld emit a link map file, in order to
debug or verify that special sections end up where they are supposed
to, and to see what LD_DEAD_CODE_DATA_ELIMINATION manages to get rid
of.

The only reason I'm not just adding this unconditionally is that the
.map file can be rather large (several MB), and that's a waste of
space when one isn't interested in these things. Also make it depend
on CONFIG_EXPERT.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
.gitignore
Documentation/dontdiff
lib/Kconfig.debug
scripts/link-vmlinux.sh