diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-02-12 10:06:58 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-02-15 10:29:38 +0100 |
commit | 0b6249f5902f85a9c1a438878b27f8d7ef960a41 (patch) | |
tree | 2951930d324262af2078e169df15e84da12bb698 /ArmPkg/Library/CompilerIntrinsicsLib | |
parent | ed5e386a6952cb2cf8ca6d723e2abd6c0b4f18c2 (diff) | |
download | edk2-platforms-0b6249f5902f85a9c1a438878b27f8d7ef960a41.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>
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib')
0 files changed, 0 insertions, 0 deletions