Re: [PATCH] compiler.h: Specify correct attribute for .rodata..c_jump_table
From: Josh Poimboeuf
Date: Fri Feb 14 2025 - 03:45:18 EST
On Fri, Feb 14, 2025 at 10:23:08AM +0800, Tiezhu Yang wrote:
> I have a draft diff, I will do more test and send it
> as a formal patch once the other patches are landed
> because this patch depends on them.
Actually since this is a bug fix, I'm thinking it should be merged in
the tip/objtool/urgent branch so it can go in an -rc. Then it should be
trivial for me to rebase your patches on top.
> The code looks something like this:
Looks good to me. nit: loongarch can use the C_JUMP_TABLE_SECTION
define.
--
Josh