diff options
Diffstat (limited to 'newlib/libc/sys/arm/aeabi_memmove.c')
-rw-r--r-- | newlib/libc/sys/arm/aeabi_memmove.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/newlib/libc/sys/arm/aeabi_memmove.c b/newlib/libc/sys/arm/aeabi_memmove.c new file mode 100644 index 000000000..f80cd3a4a --- /dev/null +++ b/newlib/libc/sys/arm/aeabi_memmove.c @@ -0,0 +1,13 @@ +#include <string.h> +#include "aeabi.h" + +/* Copy memory like memmove, but no return value required. */ +void +__aeabi_memmove (void *dest, const void *src, size_t n) +{ + memmove (dest, src, n); +} + +/* Versions of the above which may assume memory alignment. */ +strong_alias (__aeabi_memmove, __aeabi_memmove4) +strong_alias (__aeabi_memmove, __aeabi_memmove8) |