diff options
author | Masahiro Yamada <[email protected]> | 2021-02-26 15:25:48 +0900 |
---|---|---|
committer | Masahiro Yamada <[email protected]> | 2021-02-28 15:19:21 +0900 |
commit | a6aaeb841198016083663ae56c568de4e065d090 (patch) | |
tree | 12339f936fba7c5c2c152ce3dcd0dd427cfaeee4 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | da83616bcd3fa84233f6e37e2cf8cbfa979c6927 (diff) |
kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO
Commit fbe078d397b4 ("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: fbe078d397b4 ("kbuild: lto: add a default list of used symbols")
Signed-off-by: Masahiro Yamada <[email protected]>
Tested-by: Sedat Dilek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions