History

Explicit that EABI only supports VFP for now

Thomas Preud'homme committed 12 years ago

Commit 70a088a1 parent 58f3b772 files · +3 −5Browse files

Unified · Split

2 files
  1. Makefile +1 −1
  2. arm-gen.c +2 −4
Makefile+1−1
@@ -169,7 +169,7 @@ $(C67_CROSS): DEFINES = -DTCC_TARGET_C67 · 168 unmodified lines
169169 $(ARM_FPA_CROSS): DEFINES = -DTCC_TARGET_ARM
170170 $(ARM_FPA_LD_CROSS)$(EXESUF): DEFINES = -DTCC_TARGET_ARM -DLDOUBLE_SIZE=12
171171 $(ARM_VFP_CROSS): DEFINES = -DTCC_TARGET_ARM -DTCC_ARM_VFP
172−$(ARM_EABI_CROSS): DEFINES = -DTCC_TARGET_ARM -DTCC_ARM_EABI
172+$(ARM_EABI_CROSS): DEFINES = -DTCC_TARGET_ARM -DTCC_ARM_EABI -DTCC_ARM_VFP
173173
174174 $(I386_CROSS): $(I386_FILES)
175175 $(X64_CROSS): $(X86_64_FILES)
arm-gen.c+2−4
@@ -23,10 +23,8 @@ · 22 unmodified lines
2323
2424 #ifdef TARGET_DEFS_ONLY
2525
26−#ifdef TCC_ARM_EABI
27−#ifndef TCC_ARM_VFP /* Avoid useless warning */
28−#define TCC_ARM_VFP
29−#endif
26+#if defined(TCC_ARM_EABI) && !defined(TCC_ARM_VFP)
27+#error "Currently TinyCC only supports float computation with VFP instructions"
3028 #endif
3129
3230 /* number of available registers */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t