vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0.
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Mon, 11 Jun 2018 21:39:10 +0000 (23:39 +0200)
committerJeff Law <law@gcc.gnu.org>
Mon, 11 Jun 2018 21:39:10 +0000 (15:39 -0600)
2018-06-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>

* config/vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0.

From-SVN: r261457

gcc/ChangeLog
gcc/config/vx-common.h

index 7e1dcba..3be9f95 100644 (file)
@@ -1,3 +1,7 @@
+2018-06-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
+
+       * config/vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0.
+
 2018-06-11  Martin Sebor  <msebor@redhat.com>
 
        * doc/invoke.texi (-Wall): List -Wc++17-compat.
index 7a05b5b..f5c398e 100644 (file)
@@ -90,3 +90,10 @@ along with GCC; see the file COPYING3.  If not see
 /* We occasionally need to distinguish between the VxWorks variants.  */
 #define VXWORKS_KIND_NORMAL  1
 #define VXWORKS_KIND_AE      2
+
+/*
+ * libitm is not supported on VxWorks. Rather than providing stub
+ * no-op _ITM_registerTMCloneTable/_ITM_deregisterTMCloneTable
+ * functions, simply prevent crtstuff from even referring to those.
+ */
+#define USE_TM_CLONE_REGISTRY 0