2018-05-26 Rasmus Villemoes <rasmus.villem...@prevas.dk> gcc/ * config/vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0. --- gcc/config/vx-common.h | 7 +++++++ 1 file changed, 7 insertions(+)
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.15.1