]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/CompilerIntrinsicsLib ARM: make memset() weak again
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 5 Sep 2016 12:33:37 +0000 (13:33 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 5 Sep 2016 14:38:53 +0000 (15:38 +0100)
commitbc54e50e0fe03c570014f363b547426913e92449
tree16fbac64fe38cb05de09e45eb5d7752503eb9692
parent70c368e26f79ba4d0867090b88d48b86884e6ab2
ArmPkg/CompilerIntrinsicsLib ARM: make memset() weak again

After the recent update of CompilerIntrinsicsLib, our memset() is no
longer emitted as a weak symbol. On ARM, this may cause problems when
combining this library with another library that supplies memset() [e.g.,
CryptoPkg/IntrinsicLib], due to the fact that the object also supplies
the __aeabi_memXXX entry points, which can only be satisfied by this
object. So make our memset() weak again, to let the other implementation
take precedence.

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/memset.c