summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-12-15 14:41:36 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-12-24 13:58:20 +0300
commit8d0afac1d225290f5bc6948b34cf268820dab5c8 (patch)
tree17f9b1b9ca152c81f265f7cd6a7c4c859d404a9d /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parentddd7855a7a7d387ed8ab6cdb2d88163b7ba9e5c2 (diff)
downloadedk2-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