public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/10] Add jump table support for objtool on LoongArch
@ 2024-11-22  4:49 Tiezhu Yang
  2024-11-22  4:49 ` [PATCH v4 01/10] objtool: Handle various symbol types of rodata Tiezhu Yang
                   ` (10 more replies)
  0 siblings, 11 replies; 47+ messages in thread
From: Tiezhu Yang @ 2024-11-22  4:49 UTC (permalink / raw)
  To: Huacai Chen, Josh Poimboeuf, Peter Zijlstra; +Cc: loongarch, linux-kernel

This series is based on 6.12-rc7, tested with the latest upstream
mainline Binutils, GCC and Clang, most of the patches are aim to
handle the special cases compiled with Clang on LoongArch.

v4:
  -- Avoid EM_LOONGARCH and R_LARCH_32_PCREL undeclared error
     for various compiling environments.

  -- Remove the check condition "dest_insn->type == INSN_NOP"
     for unreachable entry of rodata.

Tiezhu Yang (10):
  objtool: Handle various symbol types of rodata
  objtool: Handle special cases of dead end insn
  objtool: Handle different entry size of rodata
  objtool: Handle PC relative relocation type
  objtool: Handle unreachable entry of rodata
  objtool: Handle unsorted table offset of rodata
  objtool/LoongArch: Get each table size of rodata
  objtool/LoongArch: Add support for switch table
  objtool/LoongArch: Add support for goto table
  LoongArch: Enable jump table for objtool

 arch/loongarch/Kconfig                 |   3 +
 arch/loongarch/Makefile                |   4 +
 tools/objtool/arch/loongarch/special.c | 156 ++++++++++++++++++++++++-
 tools/objtool/check.c                  |  75 +++++++++++-
 tools/objtool/include/objtool/check.h  |   1 +
 5 files changed, 233 insertions(+), 6 deletions(-)

-- 
2.42.0


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

end of thread, other threads:[~2024-12-03 15:58 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-22  4:49 [PATCH v4 00/10] Add jump table support for objtool on LoongArch Tiezhu Yang
2024-11-22  4:49 ` [PATCH v4 01/10] objtool: Handle various symbol types of rodata Tiezhu Yang
2024-11-26  6:44   ` Josh Poimboeuf
2024-11-26 10:41     ` Tiezhu Yang
2024-11-27  0:52       ` Josh Poimboeuf
2024-11-27  6:39         ` Tiezhu Yang
2024-11-27 18:53           ` Josh Poimboeuf
2024-11-28  2:26             ` Tiezhu Yang
2024-11-22  4:49 ` [PATCH v4 02/10] objtool: Handle special cases of dead end insn Tiezhu Yang
2024-11-26  6:45   ` Josh Poimboeuf
2024-11-26 10:42     ` Tiezhu Yang
2024-11-26 14:32       ` Peter Zijlstra
2024-11-26 15:22         ` Peter Zijlstra
2024-11-27  5:45           ` Tiezhu Yang
2024-11-22  4:49 ` [PATCH v4 03/10] objtool: Handle different entry size of rodata Tiezhu Yang
2024-11-26  7:02   ` Josh Poimboeuf
2024-11-26 10:59     ` Tiezhu Yang
2024-11-26 13:22       ` Tiezhu Yang
2024-11-27  0:57         ` Josh Poimboeuf
2024-11-27  6:59           ` Tiezhu Yang
2024-11-27  0:53       ` Josh Poimboeuf
2024-11-22  4:49 ` [PATCH v4 04/10] objtool: Handle PC relative relocation type Tiezhu Yang
2024-11-26  7:19   ` Josh Poimboeuf
2024-11-26 11:00     ` Tiezhu Yang
2024-11-26 13:24       ` Tiezhu Yang
2024-11-27  0:58         ` Josh Poimboeuf
2024-11-22  4:50 ` [PATCH v4 05/10] objtool: Handle unreachable entry of rodata Tiezhu Yang
2024-11-26  7:25   ` Josh Poimboeuf
2024-11-26 11:04     ` Tiezhu Yang
2024-11-27  0:55       ` Josh Poimboeuf
2024-11-22  4:50 ` [PATCH v4 06/10] objtool: Handle unsorted table offset " Tiezhu Yang
2024-11-26 13:28   ` Tiezhu Yang
2024-11-27  1:20     ` Josh Poimboeuf
2024-11-27  7:01       ` Tiezhu Yang
2024-11-28  0:10         ` Josh Poimboeuf
2024-11-28  0:16           ` Josh Poimboeuf
2024-11-28  1:00             ` Josh Poimboeuf
2024-11-28  2:28               ` Tiezhu Yang
2024-12-02  7:42                 ` Tiezhu Yang
2024-12-03 15:58                 ` Peter Zijlstra
2024-11-22  4:50 ` [PATCH v4 07/10] objtool/LoongArch: Get each table size " Tiezhu Yang
2024-11-22  4:50 ` [PATCH v4 08/10] objtool/LoongArch: Add support for switch table Tiezhu Yang
2024-11-22  4:50 ` [PATCH v4 09/10] objtool/LoongArch: Add support for goto table Tiezhu Yang
2024-11-22  4:50 ` [PATCH v4 10/10] LoongArch: Enable jump table for objtool Tiezhu Yang
2024-11-24  5:33 ` [PATCH v4 00/10] Add jump table support for objtool on LoongArch Huacai Chen
2024-11-26  7:29   ` Josh Poimboeuf
2024-11-26  9:18     ` Huacai Chen

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