aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2018-06-11 23:39:10 +0200
committerJeff Law <law@gcc.gnu.org>2018-06-11 15:39:10 -0600
commit8731c0fbbd9be59e0e8165ec6ad800c79ac46e2a (patch)
treeea151c3b61b092e2bdc1079fe9fe6c1a60123832 /gcc
parentdc327375bc93144afd7f968ebba8625be2addada (diff)
downloadgcc-8731c0fbbd9be59e0e8165ec6ad800c79ac46e2a.zip
gcc-8731c0fbbd9be59e0e8165ec6ad800c79ac46e2a.tar.gz
gcc-8731c0fbbd9be59e0e8165ec6ad800c79ac46e2a.tar.bz2
vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0.
2018-06-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk> * config/vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0. From-SVN: r261457
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/vx-common.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7e1dcba..3be9f95 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/vx-common.h b/gcc/config/vx-common.h
index 7a05b5b..f5c398e 100644
--- a/gcc/config/vx-common.h
+++ b/gcc/config/vx-common.h
@@ -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