Don't call __tcc_fpinit if using libgcc

This commit is contained in:
Thomas Preud'homme 2014-01-06 11:14:54 +08:00
parent a01d83d783
commit bcc1904f9c

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
}