Enable Nuttx spec test option and register aot symbols (#1687)

Enable spec test option on Nuttx platform.
Register sqrt/sqrtf in aot global symbol map and
_fixdfdi/__floatundidf in xtensa symbol map.
This commit is contained in:
dongsheng28849455
2022-11-08 12:42:19 +08:00
committed by GitHub
parent 328fd59f43
commit f59ffa0d63
5 changed files with 31 additions and 2 deletions

View File

@ -41,6 +41,9 @@ void __gtdf2();
void __umoddi3();
void __floatdidf();
void __divsf3();
void __fixdfdi();
void __floatundidf();
static SymbolMap target_sym_map[] = {
REG_COMMON_SYMBOLS
@ -80,8 +83,8 @@ static SymbolMap target_sym_map[] = {
REG_SYM(__umoddi3),
REG_SYM(__floatdidf),
REG_SYM(__divsf3),
REG_SYM(sqrt),
REG_SYM(sqrtf),
REG_SYM(__fixdfdi),
REG_SYM(__floatundidf),
};
/* clang-format on */