mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Add jump table support for objtool on LoongArch
@ 2024-07-12  9:15 Tiezhu Yang
  2024-07-12  9:15 ` [RFC PATCH 1/4] objtool: Check local label in find_jump_table() Tiezhu Yang
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Tiezhu Yang @ 2024-07-12  9:15 UTC (permalink / raw)
  To: Josh Poimboeuf, Peter Zijlstra, Huacai Chen
  Cc: Xi Ruoyao, loongarch, linux-kernel

This RFC version is based on Linux 6.10-rc7, there are no detailed
commit messages for each patch for now and the code are relatively
clear and simple.

This series is tested with the latest upstream gcc applied with patch
"LoongArch: Add support to annotate tablejump" [1] which adds a new
section discard.tablejump_annotate to record the jump info, it makes
life much easier, special thanks to Ruoyao.

I will address all the review comments and update the commit messages
after the merge window.

[1] https://inbox.sourceware.org/gcc-patches/20240711114415.4420-1-xry111@xry111.site/

Tiezhu Yang (4):
  objtool: Check local label in find_jump_table()
  objtool: Check various types in add_jump_table()
  objtool/LoongArch: Add support for jump table
  LoongArch: Remove -fno-jump-tables for objtool

 arch/loongarch/Kconfig                 |  8 +++-
 arch/loongarch/Makefile                |  6 +--
 tools/objtool/arch/loongarch/special.c | 54 +++++++++++++++++++++++++-
 tools/objtool/check.c                  | 36 +++++++++++++++--
 4 files changed, 94 insertions(+), 10 deletions(-)

-- 
2.42.0


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

end of thread, other threads:[~2024-07-15 10:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-12  9:15 [RFC PATCH 0/4] Add jump table support for objtool on LoongArch Tiezhu Yang
2024-07-12  9:15 ` [RFC PATCH 1/4] objtool: Check local label in find_jump_table() Tiezhu Yang
2024-07-12  9:15 ` [RFC PATCH 2/4] objtool: Check various types in add_jump_table() Tiezhu Yang
2024-07-12  9:15 ` [RFC PATCH 3/4] objtool/LoongArch: Add support for jump table Tiezhu Yang
2024-07-12  9:15 ` [RFC PATCH 4/4] LoongArch: Remove -fno-jump-tables for objtool Tiezhu Yang
2024-07-12  9:40   ` Huacai Chen
2024-07-15 10:32     ` Tiezhu Yang
2024-07-12  9:49   ` Xi Ruoyao
2024-07-13  9:10     ` Xi Ruoyao
2024-07-15 10:35       ` Tiezhu Yang
2024-07-12 10:19 ` [RFC PATCH 0/4] Add jump table support for objtool on LoongArch Jinyang He
2024-07-15  9:56   ` Tiezhu Yang

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®