]> www.infradead.org Git - users/jedix/linux-maple.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>
Mon, 15 Mar 2021 10:20:49 +0000 (19:20 +0900)
commitbabd8cd96d333cb83c9b8abf4f01ab1f161d6ec4
treeeba8bcc358486f5d2a030ef1742e52849e2019a5
parent084abc3e6373ac2f7aec0841c6fba7eee7ee3d7e
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