Define __ARM_PCS_VFP in hardfloat compilation mode

This commit is contained in:
Thomas Preud'homme 2013-06-11 18:13:04 +02:00
parent f6b50558fc
commit 37b0348993

View File

@ -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