diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2025-12-15 14:41:36 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-12-24 13:58:20 +0300 |
| commit | 8d0afac1d225290f5bc6948b34cf268820dab5c8 (patch) | |
| tree | 17f9b1b9ca152c81f265f7cd6a7c4c859d404a9d /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h | |
| parent | ddd7855a7a7d387ed8ab6cdb2d88163b7ba9e5c2 (diff) | |
| download | edk2-8d0afac1d225290f5bc6948b34cf268820dab5c8.tar.xz | |
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 <ardb@kernel.org>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions
