Skip to content

Commit ee217d5

Browse files
authored
Add some missing intrinsic symbols for thumb ISA (#503)
Signed-off-by: Huang Qi <[email protected]> Co-authored-by: Huang Qi <[email protected]>
1 parent 6847e15 commit ee217d5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

core/iwasm/aot/arch/aot_reloc_thumb.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@
88
#define R_ARM_THM_CALL 10 /* PC relative (Thumb BL and ARMv5 Thumb BLX). */
99
#define R_ARM_THM_JMP24 30 /* B.W */
1010

11+
void __ltdf2();
12+
void __adddf3();
13+
void __eqdf2();
14+
void __unorddf2();
15+
void __muldf3();
16+
void __subdf3();
17+
void __gedf2();
18+
void __ledf2();
19+
void __fixunsdfsi();
20+
void __floatunsidf();
21+
void __fixdfsi();
22+
void __nedf2();
23+
void __floatsidf();
1124
void __divdi3();
1225
void __udivdi3();
1326
void __moddi3();
@@ -57,6 +70,19 @@ void __aeabi_f2d();
5770
static SymbolMap target_sym_map[] = {
5871
REG_COMMON_SYMBOLS
5972
/* compiler-rt symbols that come from compiler(e.g. gcc) */
73+
REG_SYM(__ltdf2),
74+
REG_SYM(__adddf3),
75+
REG_SYM(__eqdf2),
76+
REG_SYM(__unorddf2),
77+
REG_SYM(__muldf3),
78+
REG_SYM(__subdf3),
79+
REG_SYM(__gedf2),
80+
REG_SYM(__ledf2),
81+
REG_SYM(__fixunsdfsi),
82+
REG_SYM(__floatunsidf),
83+
REG_SYM(__fixdfsi),
84+
REG_SYM(__nedf2),
85+
REG_SYM(__floatsidf),
6086
REG_SYM(__divdi3),
6187
REG_SYM(__udivdi3),
6288
REG_SYM(__umoddi3),

0 commit comments

Comments
 (0)