From 8731c0fbbd9be59e0e8165ec6ad800c79ac46e2a Mon Sep 17 00:00:00 2001 From: Rasmus Villemoes Date: Mon, 11 Jun 2018 23:39:10 +0200 Subject: [PATCH] vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0. 2018-06-11 Rasmus Villemoes * config/vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0. From-SVN: r261457 --- gcc/ChangeLog | 4 ++++ gcc/config/vx-common.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e1dcba48cf..3be9f95c466 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-06-11 Rasmus Villemoes + + * config/vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0. + 2018-06-11 Martin Sebor * doc/invoke.texi (-Wall): List -Wc++17-compat. diff --git a/gcc/config/vx-common.h b/gcc/config/vx-common.h index 7a05b5b602a..f5c398ee4b9 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 -- 2.30.2