audk/MdeModulePkg/Core/Dxe/Misc
Yao, Jiewen 81338070fe Fix logic error on SectionAlignment calculation.
The correct logic should be:
  - The SectionAlignment is got from Magic number.
  - The Magic number is got from PE header and machine type.
The original code mix them.

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: "Yao, Jiewen" <Jiewen.yao@intel.com>
Reviewed-by: "Ard Biesheuvel" <ard.biesheuvel@linaro.org>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17603 6f19259b-4bc3-4df7-8a09-765794883524
2015-06-10 00:26:48 +00:00
..
DebugImageInfo.c
InstallConfigurationTable.c Update the comments of InstallConfigurationTable to follow UEFI Spec. 2011-05-31 03:15:58 +00:00
PropertiesTable.c Fix logic error on SectionAlignment calculation. 2015-06-10 00:26:48 +00:00
SetWatchdogTimer.c
Stall.c MdeModulePkg: Fix XCODE Link Issue in DxeCore 2014-09-09 02:35:41 +00:00