bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26206] Add pei-aarch64 support for native EFI support


From: pjones at redhat dot com
Subject: [Bug binutils/26206] Add pei-aarch64 support for native EFI support
Date: Wed, 20 Oct 2021 15:18:41 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26206

--- Comment #19 from pjones at redhat dot com <pjones at redhat dot com> ---
Can you share your tree so we can replicate this locally?  Aside from that,
"objdump -f" or even "objdump -x" would be helpful.

My initial suspicion is that it's not seeing your binary as relocatable, and
EFI_NOT_FOUND is coming from edk2's GetPeCoffImageFixLoadingAssignedAddress(),
indicating that the fixed load address is not available.  On other arches we
solve this with a dummy .reloc section in crt0-efi-ARCH.S (such as this
https://github.com/rhboot/gnu-efi/blob/shim-15.5/gnuefi/crt0-efi-x86_64.S#L65
), and of course you'll need the .reloc section in the linker script (such as
https://github.com/rhboot/gnu-efi/blob/shim-15.5/gnuefi/elf_x86_64_efi.lds#L28
).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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