Patchwork [committed] vms/ia64: Define SUPPORTS_ONE_ONLY

login
register
mail settings
Submitter Tristan Gingold
Date Dec. 23, 2011, 8:26 a.m.
Message ID <69F35DC6-742D-40E1-A2FF-FFA2EA5D7DB8@adacore.com>
Download mbox | patch
Permalink /patch/132969/
State New
Headers show

Comments

Tristan Gingold - Dec. 23, 2011, 8:26 a.m.
Hi,

the native ia64 VMS linker doesn't fully support COMDAT sections.

Committed on trunk.

Tristan.

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

	* config/ia64/vms.h (SUPPORTS_ONE_ONLY): Define.

Patch

--- a/gcc/config/ia64/vms.h
+++ b/gcc/config/ia64/vms.h
@@ -157,3 +157,7 @@  STATIC func_ptr __CTOR_LIST__[1]                            
 
 #undef TARGET_PROMOTE_FUNCTION_MODE
 #define TARGET_PROMOTE_FUNCTION_MODE default_promote_function_mode_always_promo
+
+/* IA64 VMS doesn't fully support COMDAT sections.  */
+
+#define SUPPORTS_ONE_ONLY 0