diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2006-05-04 21:15:00 +0400 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2006-05-04 21:15:00 +0400 |
commit | 998982571e2dd30da4a157974f6c67a526d249f3 (patch) | |
tree | fed9fae5ff63da958021b4915c4cf3193081bee8 /newlib/libc/sys/arm/aeabi_memcpy.c | |
parent | 79470d2462499241c9cca3275da5635bcec05121 (diff) |
* libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_memclr.c,newlib-csl-sourcerygxx-4_1-5newlib-csl-sourcerygxx-4_1-4
aeabi_memcpy.c, aeabi_memmove.c and aeabi_memset.c.
* libc/sys/arm/Makefile.in: Regenerate.
* libc/sys/arm/aeabi.h: New file.
* libc/sys/arm/aeabi_memclr.c: New file.
* libc/sys/arm/aeabi_memcpy.c: New file.
* libc/sys/arm/aeabi_memmove.c: New file.
* libc/sys/arm/aeabi_memset.c: New file.
Diffstat (limited to 'newlib/libc/sys/arm/aeabi_memcpy.c')
-rw-r--r-- | newlib/libc/sys/arm/aeabi_memcpy.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/newlib/libc/sys/arm/aeabi_memcpy.c b/newlib/libc/sys/arm/aeabi_memcpy.c new file mode 100644 index 000000000..518830eab --- /dev/null +++ b/newlib/libc/sys/arm/aeabi_memcpy.c @@ -0,0 +1,13 @@ +#include <string.h> +#include "aeabi.h" + +/* Copy memory like memcpy, but no return value required. */ +void +__aeabi_memcpy (void *dest, const void *src, size_t n) +{ + memcpy (dest, src, n); +} + +/* Versions of the above which may assume memory alignment. */ +strong_alias (__aeabi_memcpy, __aeabi_memcpy4) +strong_alias (__aeabi_memcpy, __aeabi_memcpy8) |