Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/arm/aeabi_memclr.c')
-rw-r--r--newlib/libc/sys/arm/aeabi_memclr.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/newlib/libc/sys/arm/aeabi_memclr.c b/newlib/libc/sys/arm/aeabi_memclr.c
new file mode 100644
index 000000000..179a7b290
--- /dev/null
+++ b/newlib/libc/sys/arm/aeabi_memclr.c
@@ -0,0 +1,13 @@
+#include <string.h>
+#include "aeabi.h"
+
+/* Clear memory. */
+void
+__aeabi_memclr (void *dest, size_t n)
+{
+ memset (dest, 0, n);
+}
+
+/* Versions of the above which may assume memory alignment. */
+strong_alias (__aeabi_memclr, __aeabi_memclr4)
+strong_alias (__aeabi_memclr, __aeabi_memclr8)