Define __ARM_PCS_VFP in hardfloat compilation mode
This commit is contained in:
parent
f6b50558fc
commit
37b0348993
1 changed files with 3 additions and 0 deletions
3
libtcc.c
3
libtcc.c
|
@ -950,6 +950,9 @@ LIBTCCAPI TCCState *tcc_new(void)
|
|||
tcc_define_symbol(s, "__arm", NULL);
|
||||
tcc_define_symbol(s, "arm", NULL);
|
||||
tcc_define_symbol(s, "__APCS_32__", NULL);
|
||||
#if defined(TCC_ARM_HARDFLOAT)
|
||||
tcc_define_symbol(s, "__ARM_PCS_VFP", NULL);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef TCC_TARGET_PE
|
||||
|
|
Loading…
Reference in a new issue