On Tue, Sep 02, 2025 at 11:50:51AM +0200, Anaëlle Cazuc wrote:
> When using grub-mkrescue for a riscv32 target, an invalid implicit
> cast on the offset calculation produces an error during the relocation
> process: grub-mkrescue: error: target XXX not reachable from pc=fc.
>
> This patch adds an explicit int64_t cast to compute the offset as a
> 64bit subtraction.
>
> Signed-off-by: Anaëlle Cazuc <[email protected]>

Reviewed-by: Daniel Kiper <[email protected]>

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to