grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Additional Relocations (R_ARM_THM_MOVT_ABS) support in mkimage.


From: Vladimir 'phcoder' Serbinenko
Subject: Re: Additional Relocations (R_ARM_THM_MOVT_ABS) support in mkimage.
Date: Tue, 29 May 2018 00:57:52 +0200



On Mon, 28 May 2018, 23:08 amit94, <address@hidden> wrote:
Hi,

I'm trying to cross compile grub for armv7, and I get these errors on running `grub-mkstandalone`
> grub-mkstandalone: error: relocation 0x2f is not implemented yet.

The issue seems to be that the R_ARM_THM_MOVT_ABS_NC is not supported in the util/grub-mkimagexx.c file. I searched a bit and found that support for this was added to grub-core/kern/arm/dl.c in commit c0f529ea679bdf48cbe1c4b3dd92fb552456a1fe by Leif Lindholm.

Is it possible to implement this here?
Not easily because PE format used by EFI doesn't have an equivalent. My recommendation is to remove -mthumb if you have this problem

Thanks,
Amit.

_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]