]> git.baikalelectronics.ru Git - kernel.git/commit
mksysmap: Fix the mismatch of 'L0' symbols in System.map
authorYouling Tang <tangyouling@loongson.cn>
Thu, 1 Sep 2022 11:10:59 +0000 (19:10 +0800)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 9 Sep 2022 20:35:13 +0000 (05:35 +0900)
commit654247622942258a84a4334cfb50dd6c130412f1
tree6b5c079e09da3dfe57569e7377855d186b46e2df
parent163920c1047be332fef0954a0a3695537c318138
mksysmap: Fix the mismatch of 'L0' symbols in System.map

When System.map was generated, the kernel used mksysmap to filter the
kernel symbols, we need to filter "L0" symbols in LoongArch architecture.

$ cat System.map | grep L0
9000000000221540 t L0

The L0 symbol exists in System.map, but not in .tmp_System.map. When
"cmp -s System.map .tmp_System.map" will show "Inconsistent kallsyms
data" error message in link-vmlinux.sh script.

Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mksysmap