mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-22 11:23:27 +08:00
Define __ARM_PCS_VFP in hardfloat compilation mode
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user