From 70a088af874076d8db5d7c2067afd8f2bcde0592 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 7 Jan 2014 16:04:12 +0800 Subject: Explicit that EABI only supports VFP for now --- arm-gen.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'arm-gen.c') 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 */ -- cgit v1.3.1