mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
Explicit that EABI only supports VFP for now
This commit is contained in:
parent
58f3b7781b
commit
70a088af87
2
Makefile
2
Makefile
@ -169,7 +169,7 @@ $(C67_CROSS): DEFINES = -DTCC_TARGET_C67
|
||||
$(ARM_FPA_CROSS): DEFINES = -DTCC_TARGET_ARM
|
||||
$(ARM_FPA_LD_CROSS)$(EXESUF): DEFINES = -DTCC_TARGET_ARM -DLDOUBLE_SIZE=12
|
||||
$(ARM_VFP_CROSS): DEFINES = -DTCC_TARGET_ARM -DTCC_ARM_VFP
|
||||
$(ARM_EABI_CROSS): DEFINES = -DTCC_TARGET_ARM -DTCC_ARM_EABI
|
||||
$(ARM_EABI_CROSS): DEFINES = -DTCC_TARGET_ARM -DTCC_ARM_EABI -DTCC_ARM_VFP
|
||||
|
||||
$(I386_CROSS): $(I386_FILES)
|
||||
$(X64_CROSS): $(X86_64_FILES)
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user