Re: [RFC v5 12/57] objtool: check: Allow jumps from an alternative group to itself

From: Will Deacon
Date: Tue Jan 21 2020 - 05:30:23 EST


On Mon, Jan 20, 2020 at 03:56:56PM +0100, Peter Zijlstra wrote:
> On Thu, Jan 09, 2020 at 04:02:15PM +0000, Julien Thierry wrote:
> > Alternatives can contain instructions that jump to another instruction
> > in the same alternative group. This is actually a common pattern on
> > arm64.
>
> LL/SC I bet...

I think there are some nasty errata workarounds that need it too.

WIll