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

2020-07-31 Thread Julien Thierry
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 objto

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

2020-07-30 Thread Josh Poimboeuf
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

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

2020-07-30 Thread Julien Thierry
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: