Patchwork : Alpha/VMS: do not use T M close registry

login
register
mail settings
Submitter Tristan Gingold
Date Dec. 16, 2011, 4:33 p.m.
Message ID <06D33DAE-CB31-401C-A47D-58A7F5DBAE7F@adacore.com>
Download mbox | patch
Permalink /patch/131861/
State New
Headers show

Comments

Tristan Gingold - Dec. 16, 2011, 4:33 p.m.
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

Patch

--- 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