]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/CompilerIntrinsicsLib: make the default memset() weak
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 4 Aug 2016 14:37:13 +0000 (16:37 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 5 Aug 2016 14:32:36 +0000 (16:32 +0200)
commitf8c51389c6dbc8e99715489f70fb4ad47d49be1f
treefd8f65551b5b1646b76db5733085a351c23bdbf6
parent59ceaa0a871d0d14bd54caa8cb9ca24a5314b223
ArmPkg/CompilerIntrinsicsLib: make the default memset() weak

The ARM compiler intrinsics library defines __aeabi_memset() and
memset() in the same object, which means that both will be pulled
in if either is referenced.

The IntrinsicLib in CryptoPkg defines its own, preferred memset(),
which may clash with our memset(). So make our version weak.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S