diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2013-06-11 18:13:04 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2013-06-15 00:26:07 +0200 |
| commit | 37b034899318a4e0f2283aa6e8564d839a52503f (patch) | |
| tree | 203e0eb8a829d8008b4966a7cc3a1adfcac68cc3 | |
| parent | f6b50558fc46aeb8e981355009871b30e61de841 (diff) | |
| download | tinycc-37b034899318a4e0f2283aa6e8564d839a52503f.tar.gz tinycc-37b034899318a4e0f2283aa6e8564d839a52503f.tar.bz2 | |
Define __ARM_PCS_VFP in hardfloat compilation mode
| -rw-r--r-- | libtcc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
