svn commit: r314907 - head/contrib/compiler-rt/lib/builtins

Michal Meloun mmel at FreeBSD.org
Wed Mar 8 11:40:29 UTC 2017


Author: mmel
Date: Wed Mar  8 11:40:27 2017
New Revision: 314907
URL: https://svnweb.freebsd.org/changeset/base/314907

Log:
  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.

Modified:
  head/contrib/compiler-rt/lib/builtins/assembly.h

Modified: head/contrib/compiler-rt/lib/builtins/assembly.h
==============================================================================
--- head/contrib/compiler-rt/lib/builtins/assembly.h	Wed Mar  8 11:24:33 2017	(r314906)
+++ head/contrib/compiler-rt/lib/builtins/assembly.h	Wed Mar  8 11:40:27 2017	(r314907)
@@ -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


More information about the svn-src-head mailing list