diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-08 13:03:46 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-09 10:10:12 +0200 |
commit | 1fbd0ca16a997b68ed320340aef18645e71e8a73 (patch) | |
tree | 5f228ce8bfa4d9047322707ef2aa6b4af69a7f9a /ShellPkg | |
parent | 78d706e23512435c8166afe88600c4de493e0e68 (diff) | |
download | edk2-platforms-1fbd0ca16a997b68ed320340aef18645e71e8a73.tar.xz |
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>
Diffstat (limited to 'ShellPkg')
0 files changed, 0 insertions, 0 deletions