]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/PeCoffLib: handle EFI_IMAGE_REL_BASED_DIR64 in generic code
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 14 Jul 2015 08:15:28 +0000 (08:15 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Tue, 14 Jul 2015 08:15:28 +0000 (08:15 +0000)
commit2c69d6ffee7a9a17262b58dd454e7e9476302cb8
tree8d0a46b985aaa091123bbaeb871c9a7254927a55
parent5e0cdec1961f8a19936f997702b49bdb555a4fce
BaseTools/PeCoffLib: handle EFI_IMAGE_REL_BASED_DIR64 in generic code

Relocations of type EFI_IMAGE_REL_BASED_DIR64 are handled in exactly
the same way on all 64-bit machine types (IPF, X64 and AARCH64).
So move the handling of this type to the generic part of the relocation
routine PeCoffLoaderRelocateImage ().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17942 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Source/C/Common/BasePeCoff.c
BaseTools/Source/C/Common/PeCoffLoaderEx.c