diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-02-26 11:55:15 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-02-28 11:44:14 +0800 |
commit | dc9b2a57403262cf6df9d150ea3a118a7d765ad8 (patch) | |
tree | 4a191454ab1b8d5e5afc448e305e829a2a9ed408 /BaseTools/Source/Python/Workspace/DscBuildData.py | |
parent | 97e1ff1b913bdedcf08c0d1917d488e0097759b7 (diff) | |
download | edk2-dc9b2a57403262cf6df9d150ea3a118a7d765ad8.tar.gz edk2-dc9b2a57403262cf6df9d150ea3a118a7d765ad8.tar.bz2 edk2-dc9b2a57403262cf6df9d150ea3a118a7d765ad8.zip |
MdePkg/BaseSafeIntLib: Fix VS2015 IA32 NOOPT build failure
v2: Add [LibraryClasses] section in INF file and refine coding style.
There are VS2015 NOOPT IA32 build failure like below in BaseSafeIntLib.
XXX.lib(XXX.obj): error LNK2001: unresolved external symbol __allmul
XXX.lib(XXX.obj): error LNK2001: unresolved external symbol __allshl
XXX.lib(XXX.obj): error LNK2001: unresolved external symbol __aullshr
This patch replaces direct shift/multiplication of 64-bit integer
with related function call to fix these failure.
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
0 files changed, 0 insertions, 0 deletions