[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241119065655.21123-1-yangtiezhu@loongson.cn>
Date: Tue, 19 Nov 2024 14:56:45 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Huacai Chen <chenhuacai@...nel.org>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Peter Zijlstra <peterz@...radead.org>
Cc: loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 00/10] Add jump table support for objtool on LoongArch
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.
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 | 68 ++++++++++-
tools/objtool/include/objtool/check.h | 1 +
5 files changed, 226 insertions(+), 6 deletions(-)
--
2.42.0
Powered by blists - more mailing lists