Files
android_kernel_xiaomi_sm8450/scripts
Arnd Bergmann f107d073ce UPSTREAM: kbuild: lto: add _mcount to list of used symbols
Some randconfig builds fail with undefined references to _mcount
when CONFIG_TRIM_UNUSED_KSYMS is set:

ERROR: modpost: "_mcount" [drivers/tee/optee/optee.ko] undefined!
ERROR: modpost: "_mcount" [drivers/fsi/fsi-occ.ko] undefined!
ERROR: modpost: "_mcount" [drivers/fpga/dfl-pci.ko] undefined!

Since there is already a list of symbols that get generated at link
time, add this one as well.

Fixes: fbe078d397b4 ("kbuild: lto: add a default list of used symbols")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
(cherry picked from commit da83616bcd3fa84233f6e37e2cf8cbfa979c6927)
Bug: 187129171
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: I9e19b85b5ea81b1a0af3e835ed5f92c8a9c55765
2021-06-10 20:26:09 -07:00
..
2021-05-20 15:35:25 +02:00
2017-03-28 16:16:52 +02:00
2021-05-20 15:35:25 +02:00
2021-05-22 11:40:55 +02:00
2021-05-22 11:40:55 +02:00
2021-05-22 11:40:55 +02:00
2021-05-22 11:40:55 +02:00
2021-05-22 11:40:55 +02:00