MdePkg/BasePeCoffLib: Fixed coding style

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14529 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2013-08-07 09:23:23 +00:00 committed by oliviermartin
parent 5b2956ea63
commit 45a4305bd6
1 changed files with 4 additions and 4 deletions

View File

@ -40,16 +40,16 @@ PeCoffLoaderRelocateImageEx (
IN UINT64 Adjust IN UINT64 Adjust
) )
{ {
UINT64 *F64; UINT64 *Fixup64;
switch ((*Reloc) >> 12) { switch ((*Reloc) >> 12) {
case EFI_IMAGE_REL_BASED_DIR64: case EFI_IMAGE_REL_BASED_DIR64:
F64 = (UINT64 *) Fixup; Fixup64 = (UINT64 *) Fixup;
*F64 = *F64 + (UINT64) Adjust; *Fixup64 = *Fixup64 + (UINT64) Adjust;
if (*FixupData != NULL) { if (*FixupData != NULL) {
*FixupData = ALIGN_POINTER(*FixupData, sizeof(UINT64)); *FixupData = ALIGN_POINTER(*FixupData, sizeof(UINT64));
*(UINT64 *)(*FixupData) = *F64; *(UINT64 *)(*FixupData) = *Fixup64;
*FixupData = *FixupData + sizeof(UINT64); *FixupData = *FixupData + sizeof(UINT64);
} }
break; break;