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: amit94
Subject: Re: Additional Relocations (R_ARM_THM_MOVT_ABS) support in mkimage.
Date: Tue, 29 May 2018 06:29:33 -0400

> Not easily because PE format used by EFI doesn't have an equivalent. My recommendation is to remove -mthumb if you have this problem

If I remove -mthumb, I face this bug: https://lists.gnu.org/archive/html/bug-grub/2016-03/msg00198.html

My target processor is "armv7l", will messing with the -march help or is this unfixable?

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On May 29, 2018 4:27 AM, Vladimir 'phcoder' Serbinenko <address@hidden> wrote:



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]