diff --git a/core/iwasm/aot/arch/aot_reloc_thumb.c b/core/iwasm/aot/arch/aot_reloc_thumb.c index f4023ffb5..8b7bc748b 100644 --- a/core/iwasm/aot/arch/aot_reloc_thumb.c +++ b/core/iwasm/aot/arch/aot_reloc_thumb.c @@ -8,6 +8,19 @@ #define R_ARM_THM_CALL 10 /* PC relative (Thumb BL and ARMv5 Thumb BLX). */ #define R_ARM_THM_JMP24 30 /* B.W */ +void __ltdf2(); +void __adddf3(); +void __eqdf2(); +void __unorddf2(); +void __muldf3(); +void __subdf3(); +void __gedf2(); +void __ledf2(); +void __fixunsdfsi(); +void __floatunsidf(); +void __fixdfsi(); +void __nedf2(); +void __floatsidf(); void __divdi3(); void __udivdi3(); void __moddi3(); @@ -57,6 +70,19 @@ void __aeabi_f2d(); static SymbolMap target_sym_map[] = { REG_COMMON_SYMBOLS /* compiler-rt symbols that come from compiler(e.g. gcc) */ + REG_SYM(__ltdf2), + REG_SYM(__adddf3), + REG_SYM(__eqdf2), + REG_SYM(__unorddf2), + REG_SYM(__muldf3), + REG_SYM(__subdf3), + REG_SYM(__gedf2), + REG_SYM(__ledf2), + REG_SYM(__fixunsdfsi), + REG_SYM(__floatunsidf), + REG_SYM(__fixdfsi), + REG_SYM(__nedf2), + REG_SYM(__floatsidf), REG_SYM(__divdi3), REG_SYM(__udivdi3), REG_SYM(__umoddi3),