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

This version is based on tip/tip.git master branch [1], the patch
"objtool: Handle unreachable entry of rodata" is dropped, tested
with the latest mainline Binutils, GCC and Clang (2025-02-11).

[1] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=master

Tiezhu Yang (7):
  objtool: Handle various symbol types of rodata
  objtool: Handle different entry size of rodata
  objtool: Handle PC relative relocation type
  objtool/LoongArch: Add support for switch table
  objtool/LoongArch: Add support for goto table
  LoongArch: Enable jump table for objtool
  LoongArch: Convert unreachable() to BUG()

 arch/loongarch/Kconfig                        |   3 +
 arch/loongarch/Makefile                       |   6 +-
 arch/loongarch/kernel/machine_kexec.c         |   4 +-
 tools/objtool/arch/loongarch/decode.c         |  28 ++-
 .../objtool/arch/loongarch/include/arch/elf.h |   7 +
 tools/objtool/arch/loongarch/special.c        | 159 +++++++++++++++++-
 tools/objtool/arch/powerpc/decode.c           |  15 ++
 tools/objtool/arch/x86/decode.c               |  13 ++
 tools/objtool/check.c                         |  23 ++-
 tools/objtool/include/objtool/arch.h          |   3 +
 10 files changed, 247 insertions(+), 14 deletions(-)

-- 
2.42.0


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

end of thread, other threads:[~2025-03-14 20:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-11 11:50 [PATCH v7 0/7] Add jump table support for objtool on LoongArch Tiezhu Yang
2025-02-11 11:50 ` [PATCH v7 1/7] objtool: Handle various symbol types of rodata Tiezhu Yang
2025-03-14 20:04   ` [tip: objtool/core] " tip-bot2 for Tiezhu Yang
2025-02-11 11:50 ` [PATCH v7 2/7] objtool: Handle different entry size " Tiezhu Yang
2025-03-14 20:04   ` [tip: objtool/core] " tip-bot2 for Tiezhu Yang
2025-02-11 11:50 ` [PATCH v7 3/7] objtool: Handle PC relative relocation type Tiezhu Yang
2025-03-14 20:04   ` [tip: objtool/core] " tip-bot2 for Tiezhu Yang
2025-02-11 11:50 ` [PATCH v7 4/7] objtool/LoongArch: Add support for switch table Tiezhu Yang
2025-03-14 20:04   ` [tip: objtool/core] " tip-bot2 for Tiezhu Yang
2025-02-11 11:50 ` [PATCH v7 5/7] objtool/LoongArch: Add support for goto table Tiezhu Yang
2025-03-14 20:04   ` [tip: objtool/core] " tip-bot2 for Tiezhu Yang
2025-02-11 11:50 ` [PATCH v7 6/7] LoongArch: Enable jump table for objtool Tiezhu Yang
2025-02-11 11:50 ` [PATCH v7 7/7] LoongArch: Convert unreachable() to BUG() Tiezhu Yang
2025-03-08  5:47 ` [PATCH v7 0/7] 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®