[Patch]: Alpha/VMS: do not use T M close registry

Tristan Gingold gingold@adacore.com
Fri Dec 16 16:39:00 GMT 2011


Alpha/VMS claims to be ELF like, but it is not enough to support T M clone registry.

This patch disables it as it broke compilation.  The right way would be not to define OBJECT_FORMAT_ELF.

Committed on trunk.

Tristan.

2011-12-16  Tristan Gingold  <gingold@adacore.com>

	* config/alpha/vms.h (USE_TM_CLONE_REGISTRY): Define.


index 32794c8..a84c15e 100644
--- a/gcc/config/alpha/vms.h
+++ b/gcc/config/alpha/vms.h
@@ -23,6 +23,10 @@ along with GCC; see the file COPYING3.  If not see
    crtstuff.c and dealing with shared library initialization much easier.  */
 #define OBJECT_FORMAT_ELF
 
+/* Do not use TM clone registry as it currently doesn't work.  Alpha/VMS
+   object is too far from ELF for supporting TM out of the box.  */
+#define USE_TM_CLONE_REGISTRY 0
+
 /* This enables certain macros in alpha.h, which will make an indirect
    reference to an external symbol an invalid address.  This needs to be
    defined before we include alpha.h, since it determines which macros



More information about the Gcc-patches mailing list