audk/CryptoPkg/Library/Include
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
..
internal CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
openssl CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
sys CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
CrtLibSupport.h CryptoPkg: Fix possible unresolved external symbol issue. 2017-04-07 00:27:34 +08:00
assert.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
ctype.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
errno.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
limits.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
memory.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
stdarg.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
stddef.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
stdio.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
stdlib.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
string.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
strings.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
syslog.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
time.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
unistd.h CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00