]> www.infradead.org Git - users/hch/configfs.git/commit
kallsyms: Do not cleanup .llvm.<hash> suffix before sorting symbols
authorSong Liu <song@kernel.org>
Wed, 7 Aug 2024 22:05:12 +0000 (15:05 -0700)
committerKees Cook <kees@kernel.org>
Thu, 15 Aug 2024 16:33:34 +0000 (09:33 -0700)
commit020925ce92990c3bf59ab2cde386ac6d9ec734ff
treef7212fd3cbd2bcd9521da7c1198e4e1c8e2c43f8
parent92e9bac18124682c4b99ede9ee3bcdd68f121e92
kallsyms: Do not cleanup .llvm.<hash> suffix before sorting symbols

Cleaning up the symbols causes various issues afterwards. Let's sort
the list based on original name.

Signed-off-by: Song Liu <song@kernel.org>
Fixes: 8cc32a9bbf29 ("kallsyms: strip LTO-only suffixes from promoted global functions")
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20240807220513.3100483-2-song@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
scripts/kallsyms.c
scripts/link-vmlinux.sh