[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAhV-H7tDvxVeT5nJSVL88_OGzVuE-rJu=YJTjMd6KpenvWbgw@mail.gmail.com>
Date: Tue, 5 Nov 2024 20:47:36 +0800
From: Huacai Chen <chenhuacai@...nel.org>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>, Jinyang He <hejinyang@...ngson.cn>
Cc: Josh Poimboeuf <jpoimboe@...nel.org>, Peter Zijlstra <peterz@...radead.org>, loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/5] Add jump table support for objtool on LoongArch
Hi, Jinyang,
Could you please take some time to review this series?
Huacai
On Tue, Nov 5, 2024 at 8:39 PM Tiezhu Yang <yangtiezhu@...ngson.cn> wrote:
>
> This series is based on 6.12-rc6, tested with the upstream mainline
> binutils, GCC and Clang, all the changes are under tools/objtool and
> arch/loongarch.
>
> It is time to remove the compiler option -fno-jump-tables to enable
> jump table for objtool if the compiler is GCC and it has the compiler
> option -mannotate-tablejump, the next work is to add the corresponding
> support with Clang after addressing some corner issues due to different
> compiler behaviors.
>
> Tiezhu Yang (5):
> objtool: Handle various symbol types for rodata
> objtool: Handle special cases of discard.reachable
> objtool/LoongArch: Add support for switch table
> objtool/LoongArch: Add support for goto table
> LoongArch: Enable jump table with GCC for objtool
>
> arch/loongarch/Kconfig | 3 +
> arch/loongarch/Makefile | 9 +++
> tools/objtool/arch/loongarch/special.c | 83 +++++++++++++++++++++++++-
> tools/objtool/check.c | 38 ++++++++++--
> 4 files changed, 128 insertions(+), 5 deletions(-)
>
> --
> 2.42.0
>
Powered by blists - more mailing lists