Define float_eabi only in arm-gen.o

This commit is contained in:
Thomas Preud'homme 2014-02-09 23:15:33 +08:00
parent 497f9393e0
commit c6017182f6

View File

@ -146,13 +146,13 @@ enum float_abi {
ARM_HARD_FLOAT,
};
enum float_abi float_abi;
/******************************************************/
#else /* ! TARGET_DEFS_ONLY */
/******************************************************/
#include "tcc.h"
enum float_abi float_abi;
ST_DATA const int reg_classes[NB_REGS] = {
/* r0 */ RC_INT | RC_R0,
/* r1 */ RC_INT | RC_R1,