audk/MdePkg/Library/BaseSafeIntLib
Dandan Bi dc9b2a5740 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>
2018-02-28 11:44:14 +08:00
..
BaseSafeIntLib.inf MdePkg/BaseSafeIntLib: Fix VS2015 IA32 NOOPT build failure 2018-02-28 11:44:14 +08:00
SafeIntLib.c MdePkg/BaseSafeIntLib: Fix VS2015 IA32 NOOPT build failure 2018-02-28 11:44:14 +08:00
SafeIntLib32.c MdePkg/BaseSafeIntLib: Fix VS2015 IA32 NOOPT build failure 2018-02-28 11:44:14 +08:00
SafeIntLib64.c
SafeIntLibEbc.c