mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2026-01-26 22:00:43 +00:00
This adds support to the ELF to PE/COFF conversion performed by GenFw for the AArch64 ELF relocation types R_AARCH64_PREL64, R_AARCH64_PREL32 and R_AARCH64_PREL16. Since we already require the ELF and PE/COFF section layouts to be identical in order to support other relative relocation types, this is simply a matter of whitelisting these new relocation types in the same way. While we're at it, clean up the code a bit, and add a comment explaining why these relocations are ignored in WriteRelocations64 (). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com> |
||
|---|---|---|
| .. | ||
| elf32.h | ||
| elf64.h | ||
| Elf32Convert.c | ||
| Elf32Convert.h | ||
| Elf64Convert.c | ||
| Elf64Convert.h | ||
| elf_common.h | ||
| ElfConvert.c | ||
| ElfConvert.h | ||
| GenFw.c | ||
| GenFw.h | ||
| GNUmakefile | ||
| Makefile | ||