mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-08 14:16:12 +02:00
arm: Add __aeabi_memclr in eabi_compat
LLVM's code generator will sometimes emit calls to __aeabi_memclr. Add an implementation of this for LLVM compatibility. Signed-off-by: Sam Edwards <CFSworks@gmail.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
6ba839a0f5
commit
828484a774
@ -37,3 +37,8 @@ void __aeabi_memset(void *dest, size_t n, int c)
|
||||
{
|
||||
(void) memset(dest, c, n);
|
||||
}
|
||||
|
||||
void __aeabi_memclr(void *dest, size_t n)
|
||||
{
|
||||
(void) memset(dest, 0, n);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user