]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: Enable jump table for objtool
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 17 Dec 2024 01:09:03 +0000 (09:09 +0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 12 Mar 2025 22:43:39 +0000 (15:43 -0700)
commite20ab7d454ee8d1e0e8b9ff73a7c87e84c666b2f
tree70adf9d9904a0bcf193d268c5acad87f734f2176
parent88cbb468d4545526a33126f8a41352cac6dd0f3c
LoongArch: Enable jump table for objtool

For now, it is time to remove -fno-jump-tables to enable jump table for
objtool if the compiler has -mannotate-tablejump, otherwise it is better
to remain -fno-jump-tables to keep compatibility with older compilers.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/20241217010905.13054-8-yangtiezhu@loongson.cn
Acked-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
arch/loongarch/Kconfig
arch/loongarch/Makefile