Explicit that EABI only supports VFP for now

This commit is contained in:
Thomas Preud'homme
2014-01-07 16:04:12 +08:00
parent 58f3b7781b
commit 70a088af87
2 changed files with 3 additions and 5 deletions

View File

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