summaryrefslogtreecommitdiff
path: root/src/string/arm/__aeabi_memmove.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-01-22 00:02:21 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-22 00:02:21 +0000
commite617b9eea9d45b170eabadf5ca96ca0536c538be (patch)
treea06d433fd4219466e4b27f248e332f9e0482dd5d /src/string/arm/__aeabi_memmove.c
parent397f0a6a7d798b0e3f636fe053cad9c483e011fb (diff)
downloadmusl-e617b9eea9d45b170eabadf5ca96ca0536c538be.tar.gz
move arm-specific translation units out of arch/arm/src, to src/*/arm
this is possible with the new build system that allows src/*/$(ARCH)/* files which do not shadow a file in the parent directory, and yields a more logical organization. eventually it will be possible to remove arch/*/src from the build system.
Diffstat (limited to 'src/string/arm/__aeabi_memmove.c')
-rw-r--r--src/string/arm/__aeabi_memmove.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/string/arm/__aeabi_memmove.c b/src/string/arm/__aeabi_memmove.c
new file mode 100644
index 00000000..951e7d39
--- /dev/null
+++ b/src/string/arm/__aeabi_memmove.c
@@ -0,0 +1,9 @@
+#include <string.h>
+#include "libc.h"
+
+void __aeabi_memmove(void *dest, const void *src, size_t n)
+{
+ memmove(dest, src, n);
+}
+weak_alias(__aeabi_memmove, __aeabi_memmove4);
+weak_alias(__aeabi_memmove, __aeabi_memmove8);