acrn-kernel/init
Masahiro Yamada a6aaeb8411 kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO
Commit fbe078d397 ("kbuild: lto: add a default list of used symbols")
does not work as expected if the .config file has already specified
CONFIG_UNUSED_KSYMS_WHITELIST="my/own/white/list" before enabling
CONFIG_LTO_CLANG.

So, the user-supplied whitelist and LTO-specific white list must be
independent of each other.

I refactored the shell script so CONFIG_MODVERSIONS and CONFIG_CLANG_LTO
handle whitelists in the same way.

Fixes: fbe078d397 ("kbuild: lto: add a default list of used symbols")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
2021-02-28 15:19:21 +09:00
..
Kconfig kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO 2021-02-28 15:19:21 +09:00
Makefile
calibrate.c
do_mounts.c block: merge struct block_device and struct hd_struct 2020-12-01 14:53:40 -07:00
do_mounts.h
do_mounts_initrd.c Merge branch 'hch.init_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:40:34 -07:00
do_mounts_rd.c
init_task.c fgraph: Initialize tracing_graph_pause at task creation 2021-01-29 15:07:32 -05:00
initramfs.c RISC-V Patches for the 5.12 Merge Window 2021-02-26 10:28:35 -08:00
main.c kgdb: fix to kill breakpoints on initmem after boot 2021-02-26 09:41:05 -08:00
noinitramfs.c
version.c init/version.c: remove Version_<LINUX_VERSION_CODE> symbol 2021-02-26 09:41:04 -08:00