ARM: Add __aeabi_memset and __aeabi_memmove alias

This commit is contained in:
Jonathan Schleifer 2015-11-08 00:54:32 +01:00
parent d8548e00aa
commit 15d594cccd
No known key found for this signature in database
GPG Key ID: 33E61C63EB4AE7B5
2 changed files with 10 additions and 0 deletions

View File

@ -17,3 +17,8 @@ memset(void *s, int c, size_t count)
return s;
}
#ifdef __ARM__
void* __aeabi_memset(void *s, int c, size_t count)
__attribute__((__alias__("memset")));
#endif

View File

@ -70,4 +70,9 @@ memmove(void* dest, void const* src, size_t count)
return dest;
}
#ifdef __ARM__
void* __aeabi_memmove(void* dest, void const* src, size_t count)
__attribute__((__alias__("memmove")));
#endif
#endif