diff options
Diffstat (limited to 'src/string/arm/__aeabi_memclr.c')
-rw-r--r-- | src/string/arm/__aeabi_memclr.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/string/arm/__aeabi_memclr.c b/src/string/arm/__aeabi_memclr.c new file mode 100644 index 00000000..a25306d7 --- /dev/null +++ b/src/string/arm/__aeabi_memclr.c @@ -0,0 +1,9 @@ +#include <string.h> +#include "libc.h" + +void __aeabi_memclr(void *dest, size_t n) +{ + memset(dest, 0, n); +} +weak_alias(__aeabi_memclr, __aeabi_memclr4); +weak_alias(__aeabi_memclr, __aeabi_memclr8); |