Provide __aeabi_mem{cpy,set}
Fixes ARM compilation
This commit is contained in:
parent
2426ac36d3
commit
aee2502cb5
2 changed files with 9 additions and 0 deletions
|
@ -735,6 +735,10 @@ __ctzsi2 (grub_uint32_t x)
|
|||
grub_uint32_t
|
||||
__aeabi_uidiv (grub_uint32_t a, grub_uint32_t b)
|
||||
__attribute__ ((alias ("__udivsi3")));
|
||||
void *__aeabi_memcpy (void *dest, const void *src, grub_size_t n)
|
||||
__attribute__ ((alias ("grub_memcpy")));
|
||||
void *__aeabi_memset (void *s, int c, grub_size_t n)
|
||||
__attribute__ ((alias ("grub_memset")));
|
||||
#endif
|
||||
|
||||
#if defined (__ia64__)
|
||||
|
|
|
@ -469,6 +469,11 @@ EXPORT_FUNC (__muldi3) (grub_uint64_t a, grub_uint64_t b);
|
|||
grub_uint64_t
|
||||
EXPORT_FUNC (__aeabi_lmul) (grub_uint64_t a, grub_uint64_t b);
|
||||
|
||||
void *
|
||||
EXPORT_FUNC (__aeabi_memcpy) (void *dest, const void *src, grub_size_t n);
|
||||
void *
|
||||
EXPORT_FUNC(__aeabi_memset) (void *s, int c, grub_size_t n);
|
||||
|
||||
#endif
|
||||
|
||||
#if defined (__ia64__)
|
||||
|
|
Loading…
Reference in a new issue