audk/CryptoPkg/Library/IntrinsicLib
Qin Long 5d7a1d63c0 CryptoPkg: Fix possible unresolved external symbol issue.
The compiler (visual studio) may optimize some explicit strcmp call
in openssl source to use the intrinsic memcmp call.
In CrtLibSupport.h, we just use #define to mapping memcmp to
CompareMem API. So in Link phase, this kind of intrinsic optimization
will cause the "unresolved external symbol" error. For example:
    OpensslLib.lib(v3_utl.obj) : error LNK2001:
                               unresolved external symbol _memcmp

This patch will keep the memcmp mapping, and provide extra Intrinsic
memcmp wrapper to satisfy the symbol link.

Cc: Ting Ye <ting.ye@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2017-04-07 00:27:34 +08:00
..
Ia32 CryptoPkg IntrinsicLib: Add the missing nasm source file 2016-08-11 10:08:32 +08:00
BaseIntrinsicLib.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
CopyMem.c Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
IntrinsicLib.inf CryptoPkg IntrinsicLib: Add the missing nasm source file 2016-08-11 10:08:32 +08:00
MemoryIntrinsics.c CryptoPkg: Fix possible unresolved external symbol issue. 2017-04-07 00:27:34 +08:00