[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250211233444.nt6nvks4jim753bk@jpoimboe>
Date: Tue, 11 Feb 2025 15:34:44 -0800
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Kexy Biscuit <kexybiscuit@...c.io>
Cc: yangtiezhu@...ngson.cn, amd-gfx@...ts.freedesktop.org,
chenhuacai@...nel.org, linux-kernel@...r.kernel.org,
loongarch@...ts.linux.dev, peterz@...radead.org
Subject: Re: [PATCH] objtool: remove duplicate case value R_PPC64_REL32
On Tue, Feb 11, 2025 at 10:19:57PM +0800, Kexy Biscuit wrote:
> In arch/powerpc/include/uapi/asm/elf.h, R_PPC64_REL32 is defined as a
> macro to R_PPC_REL32, makes the case value here being duplicate and
> creates the following error...
>
> arch/powerpc/decode.c: In function ‘arch_reloc_size’:
> arch/powerpc/decode.c:114:9: error: duplicate case value
> 114 | case R_PPC64_REL32:
> | ^~~~
> arch/powerpc/decode.c:113:9: note: previously used here
> 113 | case R_PPC_REL32:
> | ^~~~
>
> Remove the duplicate case value to fix the error.
>
> Fixes: "FROMLIST: objtool: Handle different entry size of rodata"
> Signed-off-by: Kexy Biscuit <kexybiscuit@...c.io>
> ---
> This patch is required for this series to build on powerpc, however I'm
> not sure if it's the preferred way... Please advise.
If there are no objections, I'll squash this into the original patch to
avoid breaking bisection.
--
Josh
Powered by blists - more mailing lists