diff options
author | Yao, Jiewen <Jiewen.yao@intel.com> | 2015-06-10 00:26:48 +0000 |
---|---|---|
committer | jyao1 <jyao1@Edk2> | 2015-06-10 00:26:48 +0000 |
commit | 81338070fed63c736e86d8e2e0e2a3b52733a794 (patch) | |
tree | 10cb12c2331e9c8b54917bc0f74c00b072b79914 /BaseTools/Source/Python/Common/LongFilePathOs.py | |
parent | 4c75d0531bef243adca15e0bf4050376f94c5840 (diff) | |
download | edk2-platforms-81338070fed63c736e86d8e2e0e2a3b52733a794.tar.xz |
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
Diffstat (limited to 'BaseTools/Source/Python/Common/LongFilePathOs.py')
0 files changed, 0 insertions, 0 deletions