Don't call __tcc_fpinit if using libgcc

master
Thomas Preud'homme 2014-01-06 11:14:54 +08:00
parent a01d83d783
commit bcc1904f9c
1 changed files with 2 additions and 0 deletions

View File

@ -581,10 +581,12 @@ ST_FUNC void gfunc_prolog(CType *func_type)
}
#endif
#ifndef CONFIG_USE_LIBGCC
#ifndef TCC_TARGET_PE
if (0 == strcmp(funcname, "main"))
gen_static_call(TOK___tcc_fpinit);
#endif
#endif
}