arm: define TCC_ARM_VERSION for cross compiler

This commit is contained in:
grischka 2013-01-30 17:45:21 +01:00
parent b7e75ccdb0
commit 828ccde9fc

View file

@ -36,6 +36,10 @@
#define NB_REGS 9 #define NB_REGS 9
#endif #endif
#ifndef TCC_ARM_VERSION
# define TCC_ARM_VERSION 5
#endif
/* a register can belong to several classes. The classes must be /* a register can belong to several classes. The classes must be
sorted from more general to more precise (see gv2() code which does sorted from more general to more precise (see gv2() code which does
assumptions on it). */ assumptions on it). */