Re: [PATCH v2 5/9] objtool: Make relocation in alternative handling arch dependent

From: Josh Poimboeuf
Date: Thu Jul 30 2020 - 10:42:22 EST


On Thu, Jul 30, 2020 at 10:46:48AM +0100, Julien Thierry wrote:
> As pointed out by the comment in handle_group_alt(), support of
> relocation for instructions in an alternative group depends on whether
> arch specific kernel code handles it.
>
> So, let objtool arch specific code decide whether a relocation for
> the alternative section should be accepted.
>
> Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
> Signed-off-by: Julien Thierry <jthierry@xxxxxxxxxx>
> ---
> tools/objtool/arch/x86/arch_special.c | 13 +++++++++++++

The "arch" in "arch_special.c" is redundant, how about special.c?

--
Josh