Deprecate FPA and OABI support for ARM

master
Thomas Preud'homme 2014-03-25 19:48:33 +08:00
parent b68499e971
commit b8610f14b0
1 changed files with 11 additions and 1 deletions

View File

@ -191,7 +191,17 @@ ST_FUNC void arm_init(struct TCCState *s)
#define func_float_type func_old_type
#define func_double_type func_old_type
#define func_ldouble_type func_old_type
ST_FUNC void arm_init(struct TCCState *s) {}
ST_FUNC void arm_init(struct TCCState *s)
{
#if !defined (TCC_ARM_VFP)
tcc_warning("Support for FPA is deprecated and will be removed in next"
" release");
#endif
#if !defined (TCC_ARM_EABI)
tcc_warning("Support for OABI is deprecated and will be removed in next"
" release");
#endif
}
#endif
static int two2mask(int a,int b) {