sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
authorMark Mitchell <mark@codesourcery.com>
Mon, 15 Nov 2004 15:58:13 +0000 (15:58 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 15 Nov 2004 15:58:13 +0000 (15:58 +0000)
2004-11-15  Mark Mitchell <mark@codesourcery.com>

* config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
* config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here.

From-SVN: r90670

gcc/ChangeLog
gcc/config/sol2.h
gcc/config/sparc/sol2.h

index 6a8eda105031b90c98702546915316b6011495d1..0ce14d5c625b2273ec43875cf3a25f690c2f42a5 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-15  Mark Mitchell <mark@codesourcery.com>
+
+       * config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
+       * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here.
+
 2004-11-15  Mark Mitchell <mark@codesourcery.com>
 
        * config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
index ddad7c1f05c4e95274767362bb2a6c7e956c19f1..07994e222508fc96fa22656c31d3606cd165edb4 100644 (file)
@@ -148,6 +148,12 @@ Boston, MA 02111-1307, USA.  */
    %(link_arch) \
    %{Qy:} %{!Qn:-Qy}"
 
+/* The Solaris linker doesn't understand constructor priorities.  (The
+   GNU linker does support constructor priorities, so GNU ld
+   configuration files for Solaris override this setting.)  */
+#undef SUPPORTS_INIT_PRIORITY
+#define SUPPORTS_INIT_PRIORITY 0
+
 /* This defines which switch letters take arguments.
    It is as in svr4.h but with -R added.  */
 #undef SWITCH_TAKES_ARG
index 8b5edb070c9e50ec107410db9da51704e1c94349..27398402ee46f518304ca41ccccdbbf0b22b86b8 100644 (file)
@@ -129,9 +129,6 @@ Boston, MA 02111-1307, USA.  */
   ((flag_pic || GLOBAL) ? DW_EH_PE_aligned : DW_EH_PE_absptr)
 #endif
 
-/* The Solaris linker doesn't understand constructor priorities.  */
-#undef SUPPORTS_INIT_PRIORITY
-#define SUPPORTS_INIT_PRIORITY 0
 \f
 /* Define for support of TFmode long double.
    SPARC ABI says that long double is 4 words.  */