Skip to content
Snippets Groups Projects
Commit f2cbb037 authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Albert ARIBAUD
Browse files

eabi_compat: add __aeabi_memcpy __aeabi_memset


cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent c65a2abb
No related branches found
No related tags found
No related merge requests found
...@@ -20,8 +20,19 @@ int raise (int signum) ...@@ -20,8 +20,19 @@ int raise (int signum)
/* Dummy function to avoid linker complaints */ /* Dummy function to avoid linker complaints */
void __aeabi_unwind_cpp_pr0(void) void __aeabi_unwind_cpp_pr0(void)
{ {
}; }
void __aeabi_unwind_cpp_pr1(void) void __aeabi_unwind_cpp_pr1(void)
{ {
}; }
/* Copy memory like memcpy, but no return value required. */
void __aeabi_memcpy(void *dest, const void *src, size_t n)
{
(void) memcpy(dest, src, n);
}
void __aeabi_memset(void *dest, size_t n, int c)
{
(void) memset(dest, c, n);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment