diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-02-26 11:55:15 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2018-07-06 17:26:17 +0800 |
commit | 7448d1a220c43f8e4e0af5a383603c31784faea1 (patch) | |
tree | 7c9d3509c7740d2fa1f7755c252c78b93ed68a40 /MdePkg/MdePkgExtra.uni | |
parent | 932366c122baa9e19a0b507261a660fac15e6a59 (diff) | |
download | edk2-7448d1a220c43f8e4e0af5a383603c31784faea1.tar.gz edk2-7448d1a220c43f8e4e0af5a383603c31784faea1.tar.bz2 edk2-7448d1a220c43f8e4e0af5a383603c31784faea1.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>
(cherry picked from commit dc9b2a57403262cf6df9d150ea3a118a7d765ad8)
Diffstat (limited to 'MdePkg/MdePkgExtra.uni')
0 files changed, 0 insertions, 0 deletions