Re: [PATCH] riscv: alternative: proceed one more instruction for auipc/jalr pair

From: Heiko Stübner
Date: Thu Jan 19 2023 - 12:21:48 EST


Am Sonntag, 15. Januar 2023, 17:28:11 CET schrieb Jisheng Zhang:
> If we patched auipc + jalr pair, we'd better proceed one more
> instruction. Andrew pointed out "There's not a problem now, since
> we're only adding a fixup for jal, not jalr, but we should
> future-proof this and there's no reason to revisit an already fixed-up
> instruction anyway."
>
> Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxx>
> Suggested-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>

Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>