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 7e1dcba48cf5d315c680e5705442dacd76c787df..3be9f95c4660bedb6107327c50610ae70af7e799 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 7a05b5b602a980c170f70e14bbda3251a3b210d7..f5c398ee4b97cbcf073404ecaeb2733d6a48036c 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