summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/BPDG
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-02-12 10:06:58 +0100
committerHao Wu <hao.a.wu@intel.com>2016-02-24 15:31:30 +0800
commit420b02b4afce5622c239610681842912b3433964 (patch)
treedb2a4a004426b3b6b67b81177bb14fe1f7733a84 /BaseTools/Source/Python/BPDG
parent4e564c27c424bd15e6fa1844727e54d6f67e5a74 (diff)
downloadedk2-platforms-420b02b4afce5622c239610681842912b3433964.tar.xz
BaseTools/GenFw AARCH64: add support for relative data relocations
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> (cherry picked from commit 0b6249f5902f85a9c1a438878b27f8d7ef960a41)
Diffstat (limited to 'BaseTools/Source/Python/BPDG')
0 files changed, 0 insertions, 0 deletions