From 191e4a8663243d66d0142e9234578e4837a8b666 Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 2 Dec 2022 02:18:20 +0000 Subject: [PATCH] Add ARM aeabi memcpy/memmove/memset symbols for AOT bulk memory ops (#1777) --- core/iwasm/aot/arch/aot_reloc_arm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/iwasm/aot/arch/aot_reloc_arm.c b/core/iwasm/aot/arch/aot_reloc_arm.c index 1389bfb2..fbf9be13 100644 --- a/core/iwasm/aot/arch/aot_reloc_arm.c +++ b/core/iwasm/aot/arch/aot_reloc_arm.c @@ -37,6 +37,9 @@ void __aeabi_idivmod(); void __aeabi_l2d(); void __aeabi_l2f(); void __aeabi_ldivmod(); +void __aeabi_memcpy(); +void __aeabi_memmove(); +void __aeabi_memset(); void __aeabi_uidiv(); void __aeabi_uidivmod(); void __aeabi_ul2d(); @@ -120,6 +123,9 @@ static SymbolMap target_sym_map[] = { REG_SYM(__aeabi_l2d), REG_SYM(__aeabi_l2f), REG_SYM(__aeabi_ldivmod), + REG_SYM(__aeabi_memcpy), + REG_SYM(__aeabi_memmove), + REG_SYM(__aeabi_memset), REG_SYM(__aeabi_uidiv), REG_SYM(__aeabi_uidivmod), REG_SYM(__aeabi_ul2d),