Generate vmlinux.map file when linking
configname: CONFIG_VMLINUX_MAP
Linux Kernel Configuration
└─>Kernel hacking
└─>Compile-time checks and compiler options
└─>Generate vmlinux.map file when linking
In linux kernel since version 5.2 (release Date: 2019-07-07)
Selecting this option will pass "-Map=vmlinux.map" to ld
when linking vmlinux. That file can be useful for verifying
and debugging magic section games, and for seeing which
pieces of code get eliminated with
CONFIG_LD_DEAD_CODE_DATA_ELIMINATION.
when linking vmlinux. That file can be useful for verifying
and debugging magic section games, and for seeing which
pieces of code get eliminated with
CONFIG_LD_DEAD_CODE_DATA_ELIMINATION.