[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241207015915.1159-1-yangtiezhu@loongson.cn>
Date: Sat, 7 Dec 2024 09:59:05 +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 v5 00/10] Add jump table support for objtool on LoongArch
This version is based on tip/tip.git objtool/core branch [1], add some weak
and arch-specific functions to make the generic code more readable, tested
with the latest upstream mainline Binutils, GCC and Clang.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=objtool/core
Tiezhu Yang (10):
objtool: Handle various symbol types of rodata
objtool: Handle different entry size of rodata
objtool: Handle PC relative relocation type
objtool: Handle unreachable entry of rodata
objtool/LoongArch: Add support for switch table
objtool/LoongArch: Get each table size of rodata
objtool/LoongArch: Add support for goto table
LoongArch: Enable jump table for objtool
LoongArch: Convert unreachable() to BUG()
drm/amd/display: Mark dc_fixpt_from_fraction() noinline
arch/loongarch/Kconfig | 3 +
arch/loongarch/Makefile | 6 +-
arch/loongarch/kernel/machine_kexec.c | 4 +-
.../drm/amd/display/dc/basics/fixpt31_32.c | 2 +-
tools/objtool/arch/loongarch/decode.c | 31 +++-
.../objtool/arch/loongarch/include/arch/elf.h | 7 +
tools/objtool/arch/loongarch/special.c | 164 +++++++++++++++++-
tools/objtool/check.c | 36 +++-
tools/objtool/include/objtool/arch.h | 3 +
9 files changed, 239 insertions(+), 17 deletions(-)
--
2.42.0
Powered by blists - more mailing lists