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

Message ID 06D33DAE-CB31-401C-A47D-58A7F5DBAE7F@adacore.com
State New
Headers show

Commit Message

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.


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.  */
+/* 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.  */
 /* 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