Messages in this thread | | | Subject | Re: [PATCH v2 5/9] objtool: Make relocation in alternative handling arch dependent | From | Julien Thierry <> | Date | Fri, 31 Jul 2020 08:24:28 +0100 |
| |
On 7/30/20 3:42 PM, Josh Poimboeuf wrote: > 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@suse.cz> >> Signed-off-by: Julien Thierry <jthierry@redhat.com> >> --- >> tools/objtool/arch/x86/arch_special.c | 13 +++++++++++++ > > The "arch" in "arch_special.c" is redundant, how about special.c? >
Yes, that makes sense.
-- Julien Thierry
| |