Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: ddd7855a7a7d387ed8ab6cdb2d88163b7ba9e5c2
https://github.com/tianocore/edk2/commit/ddd7855a7a7d387ed8ab6cdb2d88163b7ba9e5c2
Author: Ard Biesheuvel <[email protected]>
Date: 2025-12-24 (Wed, 24 Dec 2025)
Changed paths:
M BaseTools/Source/C/GenFw/elf_common.h
M UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfCommon.h
Log Message:
-----------
BaseTools,UefiPayloadPkg: Replace deprecated R_AARCH64_NONE value
For nebulous reasons, the original ELF psABI deviated from common sense,
and decided to #define R_AARCH64_NONE as '256', in spite of the fact
that no other architecture uses anything other than 0x0.
This has now been fixed in the psABI, so fix it in our code as well.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Ard Biesheuvel <[email protected]>
Commit: 8d0afac1d225290f5bc6948b34cf268820dab5c8
https://github.com/tianocore/edk2/commit/8d0afac1d225290f5bc6948b34cf268820dab5c8
Author: Ard Biesheuvel <[email protected]>
Date: 2025-12-24 (Wed, 24 Dec 2025)
Changed paths:
M BaseTools/Source/C/GenFw/Elf64Convert.c
Log Message:
-----------
BaseTools/GenFw: Ignore R_*_NONE relocations on all architectures
The ELF psABIs for all architectures stipulate that R_*_NONE relocations
require no action at relocation time, and merely exist to declare a
dependency on a symbol in a way that cannot be conveyed by the code
itself (i.e., using an actual symbol reference). Given that EFI PE/COFF
images are always fully linked binaries, such a dependency cannot be
translated, and there are no known reasons why this would be necessary.
So instead of ignoring such relocations specifically on x86_64 only,
ignore them on all architectures when converting ELF binaries to
PE/COFF.
Fixes: #11878
Signed-off-by: Ard Biesheuvel <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/7ca8b1b4c7b5...8d0afac1d225
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits