audk/StdLib/LibC
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
..
CRT StdLib: Add a runtime helper function for VC++ 64-bit right shift on Ia32 target architectures. 2014-08-20 20:38:43 +00:00
Containers StdLib: Fix GCC warnings/errors caused by variables being set but not used. 2014-10-30 01:05:22 +00:00
Ctype StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
Locale StdLib: Clarify and improve comments. 2016-01-06 00:31:42 +00:00
Main StdLib/LibC: Provide missing ARM symbols 2015-07-30 09:50:58 +00:00
Math Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
NetUtil Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Signal Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
Softfloat StdLib/LibC: avoid LTO code for compiler intrinsics 2016-08-09 10:08:35 +02:00
StdLib StdLib: Move libraries from ShellPkg into MdeModulePkg and MdePkg. 2015-01-13 23:35:33 +00:00
Stdio StdLib: reinstate the use of va_arg() to handle long double arguments in vfscanf. 2014-08-20 23:20:54 +00:00
String StdLib/LibC ARM AARCH64: do not redefine compiler intrinsics 2016-08-09 10:10:12 +02:00
Time StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
Uefi StdLib: Fix compilation errors caused by previous commit of daConsole.c 2016-01-10 21:23:51 +00:00
Wchar StdLib: Update Copyright Notices. 2013-12-10 22:16:57 +00:00
gdtoa StdLib: Add support for AArch64 2015-07-30 09:51:04 +00:00
LibC.inf StdLib/LibC: avoid LTO code for compiler intrinsics 2016-08-09 10:08:35 +02:00