aboutsummaryrefslogtreecommitdiff
path: root/arm-gen.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2014-01-07 16:04:12 +0800
committerThomas Preud'homme <robotux@celest.fr>2014-01-07 23:20:31 +0800
commit70a088af874076d8db5d7c2067afd8f2bcde0592 (patch)
treef43a55eda4bfda43cfdb2b69324a1bd96f81884c /arm-gen.c
parent58f3b7781b899c26d181003c7a5f15a067ebcf8d (diff)
downloadtinycc-70a088af874076d8db5d7c2067afd8f2bcde0592.tar.gz
tinycc-70a088af874076d8db5d7c2067afd8f2bcde0592.tar.bz2
Explicit that EABI only supports VFP for now
Diffstat (limited to 'arm-gen.c')
-rw-r--r--arm-gen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arm-gen.c b/arm-gen.c
index 9e6c638..05bccb0 100644
--- a/arm-gen.c
+++ b/arm-gen.c
@@ -23,10 +23,8 @@
#ifdef TARGET_DEFS_ONLY
-#ifdef TCC_ARM_EABI
-#ifndef TCC_ARM_VFP /* Avoid useless warning */
-#define TCC_ARM_VFP
-#endif
+#if defined(TCC_ARM_EABI) && !defined(TCC_ARM_VFP)
+#error "Currently TinyCC only supports float computation with VFP instructions"
#endif
/* number of available registers */