audk/StdLib/LibC/String
Ard Biesheuvel 1fbd0ca16a StdLib/LibC ARM AARCH64: do not redefine compiler intrinsics
The memset() function is a compiler intrinsic on AARCH64 and ARM, and
so is memmove() on ARM. Usually, redefining them as LibC currently does
is not a problem since only one version will be selected at link time
from the various static libraries that provide implementations. However,
under LTO, this is slightly different, since explicit references (in the
C code) and implicit references (emitted by the compiler backend) may
resolve to different versions (LTO vs non-LTO), causing conflicts.

So simply omit them for ARM/AARCH64 resp. ARM.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2016-08-09 10:10:12 +02:00
..
Comparison.c StdLib: Fix strcmp so that comparisons are case sensitive. Simplified code for strcasecmp. 2011-11-01 00:19:51 +00:00
Concatenation.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
Copying.c StdLib/LibC ARM AARCH64: do not redefine compiler intrinsics 2016-08-09 10:10:12 +02:00
ErrorList.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
Misc.c StdLib/LibC ARM AARCH64: do not redefine compiler intrinsics 2016-08-09 10:10:12 +02:00
Searching.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
String.inf Add Socket Libraries. 2011-07-30 00:30:44 +00:00
strlcat.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
strlcpy.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
strncasecmp.c StdLib: Fix pointer arithmetic issues in the strncasecmp function. 2013-09-13 00:46:19 +00:00
strsep.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00