Don't call __tcc_fpinit if using libgcc
This commit is contained in:
parent
a01d83d783
commit
bcc1904f9c
1 changed files with 2 additions and 0 deletions
|
|
@ -581,10 +581,12 @@ ST_FUNC void gfunc_prolog(CType *func_type)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CONFIG_USE_LIBGCC
|
||||||
#ifndef TCC_TARGET_PE
|
#ifndef TCC_TARGET_PE
|
||||||
if (0 == strcmp(funcname, "main"))
|
if (0 == strcmp(funcname, "main"))
|
||||||
gen_static_call(TOK___tcc_fpinit);
|
gen_static_call(TOK___tcc_fpinit);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue