scripts/kallsyms: move compiler-generated symbol patterns to mksysmap
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Mar 2023 11:52:40 +0000 (20:52 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 17 Apr 2023 02:03:56 +0000 (11:03 +0900)
commit320e7c9d4494f7a6f046871678f582a3392235f8
treef0f15427b33947effef58dcd5cc9019ffa6547bb
parentca09bf48f99bdc08e17da11aeae56b7ea132b7c8
scripts/kallsyms: move compiler-generated symbol patterns to mksysmap

scripts/kallsyms.c maintains compiler-generated symbols, but we end up
with something similar in scripts/mksysmap to avoid the "Inconsistent
kallsyms data" error. For example, commit c17a2538704f ("mksysmap: Fix
the mismatch of 'L0' symbols in System.map").

They were separately maintained prior to commit 94ff2f63d6a3 ("kbuild:
reuse mksysmap output for kallsyms").

Now that scripts/kallsyms.c parses the output of scripts/mksysmap,
it makes more sense to collect all the ignored patterns to mksysmap.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/kallsyms.c
scripts/mksysmap