From: law Date: Mon, 11 Jun 2018 21:39:10 +0000 (+0000) Subject: 2018-06-11 Rasmus Villemoes X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=592280684878d4e6f470512867a3c5c88b4b1d86;p=thirdparty%2Fgcc.git 2018-06-11 Rasmus Villemoes * config/vx-common.h (USE_TM_CLONE_REGISTRY): #define to 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261457 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e1dcba48cf5..3be9f95c4660 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 7a05b5b602a9..f5c398ee4b97 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