Unbreak ARMv6 world.

The new compiler_rt library imported with clang 4.0.0 have several fatal
issues (non-functional __udivsi3 for example) with ARM specific instrict
functions. As temporary workaround, until upstream solve these problems,
disable all thumb[1][2] related feature.
This commit is contained in:
mmel 2017-03-08 11:40:27 +00:00
parent 9decab973f
commit 1557a4389f

View File

@ -75,6 +75,9 @@
#define __ARM_FEATURE_CLZ
#endif
#undef __ARM_ARCH_ISA_THUMB
#define __ARM_ARCH_ISA_THUMB 0
#ifdef ARM_HAS_BX
#define JMP(r) bx r
#define JMPc(r, c) bx##c r