Re: [PATCH] efi: arm,arm64: Fix relocations from not being loaded

2022-11-07 Thread Patrick Zacharias
Hi Heinrich, Thanks for the suggestions. I will continue investigating, if there is another way to build PE32+ ARM (v6kz) binaries. I am not aware of any currently working configuration other than the one through GNU-EFI (aarch64 is not an option for me). Nonetheless, this patch isn't abou

Re: [PATCH] efi: arm,arm64: Fix relocations from not being loaded

2022-11-06 Thread Heinrich Schuchardt
Am 6. November 2022 19:36:15 MEZ schrieb Patrick Zacharias : >I created a GitHub repository demonstrating the issue, together with >instructions on how to build it. > >https://github.com/Fighter19/hello-world-arm-efi Please, check the instructions in https://doc.rust-lang.org/rustc/platform-sup

Re: [PATCH] efi: arm,arm64: Fix relocations from not being loaded

2022-11-06 Thread Heinrich Schuchardt
Am 6. November 2022 18:03:09 MEZ schrieb Patrick Zacharias : >Hi Heinrich, > >Thanks for the information, I'll make sure to use it for future contributions. > >I encountered this issue, while building a custom EFI application using Rust >by linking >the following files: > >./arch/arm/lib/reloc_ar

Re: [PATCH] efi: arm,arm64: Fix relocations from not being loaded

2022-11-06 Thread Patrick Zacharias
I created a GitHub repository demonstrating the issue, together with instructions on how to build it. https://github.com/Fighter19/hello-world-arm-efi Currently, when using the old linker file, it will crash. Personally, to test it, I built U-Boot for QEMU and loaded the EFI file via TFTP. A

Re: [PATCH] efi: arm,arm64: Fix relocations from not being loaded

2022-11-06 Thread Patrick Zacharias
Hi Heinrich, Thanks for the information, I'll make sure to use it for future contributions. I encountered this issue, while building a custom EFI application using Rust by linking the following files: ./arch/arm/lib/reloc_arm_efi.c ./arch/arm/lib/crt0_arm_efi.S ./arch/arm/lib/elf_arm_efi.ld

Re: [PATCH] efi: arm,arm64: Fix relocations from not being loaded

2022-11-06 Thread Heinrich Schuchardt
On 10/31/22 21:01, Patrick Zacharias wrote: Prior to this commit, the relocations would not get loaded by the efi loader. This lead to none of the relocations being applied. Signed-off-by: Fighter19 <1475802+fighte...@users.noreply.github.com> Thanks Patrick for your contribution. You can us

[PATCH] efi: arm,arm64: Fix relocations from not being loaded

2022-10-31 Thread Patrick Zacharias
Prior to this commit, the relocations would not get loaded by the efi loader. This lead to none of the relocations being applied. Signed-off-by: Fighter19 <1475802+fighte...@users.noreply.github.com> ---  arch/arm/lib/elf_aarch64_efi.lds | 2 +-  arch/arm/lib/elf_arm_efi.lds | 2 +-  2 files