mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Add jump table support for objtool on LoongArch
@ 2024-11-05 12:39 Tiezhu Yang
  2024-11-05 12:39 ` [PATCH v2 1/5] objtool: Handle various symbol types for rodata Tiezhu Yang
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Tiezhu Yang @ 2024-11-05 12:39 UTC (permalink / raw)
  To: Huacai Chen, Josh Poimboeuf, Peter Zijlstra; +Cc: loongarch, linux-kernel

This series is based on 6.12-rc6, tested with the upstream mainline
binutils, GCC and Clang, all the changes are under tools/objtool and
arch/loongarch.

It is time to remove the compiler option -fno-jump-tables to enable
jump table for objtool if the compiler is GCC and it has the compiler
option -mannotate-tablejump, the next work is to add the corresponding
support with Clang after addressing some corner issues due to different
compiler behaviors.

Tiezhu Yang (5):
  objtool: Handle various symbol types for rodata
  objtool: Handle special cases of discard.reachable
  objtool/LoongArch: Add support for switch table
  objtool/LoongArch: Add support for goto table
  LoongArch: Enable jump table with GCC for objtool

 arch/loongarch/Kconfig                 |  3 +
 arch/loongarch/Makefile                |  9 +++
 tools/objtool/arch/loongarch/special.c | 83 +++++++++++++++++++++++++-
 tools/objtool/check.c                  | 38 ++++++++++--
 4 files changed, 128 insertions(+), 5 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-11-28  0:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-05 12:39 [PATCH v2 0/5] Add jump table support for objtool on LoongArch Tiezhu Yang
2024-11-05 12:39 ` [PATCH v2 1/5] objtool: Handle various symbol types for rodata Tiezhu Yang
2024-11-05 12:39 ` [PATCH v2 2/5] objtool: Handle special cases of discard.reachable Tiezhu Yang
2024-11-05 12:39 ` [PATCH v2 3/5] objtool/LoongArch: Add support for switch table Tiezhu Yang
2024-11-05 12:39 ` [PATCH v2 4/5] objtool/LoongArch: Add support for goto table Tiezhu Yang
2024-11-05 12:39 ` [PATCH v2 5/5] LoongArch: Enable jump table with GCC for objtool Tiezhu Yang
2024-11-05 14:15   ` Peter Zijlstra
2024-11-06  5:03     ` Tiezhu Yang
2024-11-12  3:15       ` Xi Ruoyao
2024-11-12 12:26         ` Tiezhu Yang
2024-11-13 21:11           ` annotating jump tables (Re: [PATCH v2 5/5] LoongArch: Enable jump table with GCC for objtool) Josh Poimboeuf
2024-11-14 17:13             ` Nick Desaulniers
2024-11-14 18:13               ` Ard Biesheuvel
2024-11-28  0:56                 ` Josh Poimboeuf
2024-11-05 12:47 ` [PATCH v2 0/5] Add jump table support for objtool on LoongArch Huacai Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®