[PATCH] arm64: Don't insert a BTI instruction at inner labels

Mark Brown broonie at kernel.org
Wed Jun 24 10:15:35 EDT 2020


On Wed, Jun 24, 2020 at 02:44:25PM +0100, Dave Martin wrote:

> Since inner labels requiring landing pads are going to be the exception
> rather than the rule, perhaps we can introduce a different macro for
> this.  It feels arch-specific to me (indeed, inner labels are kind of
> arch-specific, since they're inevitably in the middle of some asm that
> is unlikely to be handled by core code).

Yes, we'd need a different macro (or argument to it or something).

> Do we know of any code that requires landing pads on inner labels?

There aren't any, that was what Jean-Philippe's analysis in the
changelog covered.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200624/f70b452f/attachment.sig>


More information about the linux-arm-kernel mailing list