summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-15 15:58:13 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-15 15:58:13 +0000
commitd53bdac843541faa3123e95f70e01da8eccfd8ca (patch)
tree19845bcdfa99c744ef46c34dacd90fa56b563b44
parent71f63b3afea2a42556caf0a77e7fd20fdb085462 (diff)
downloadppe42-gcc-d53bdac843541faa3123e95f70e01da8eccfd8ca.tar.gz
ppe42-gcc-d53bdac843541faa3123e95f70e01da8eccfd8ca.zip
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove. * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90670 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sol2.h6
-rw-r--r--gcc/config/sparc/sol2.h3
3 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6a8eda10503..0ce14d5c625 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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
within the multilib directory.
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index ddad7c1f05c..07994e22250 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -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
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index 8b5edb070c9..27398402ee4 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -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
/* Define for support of TFmode long double.
SPARC ABI says that long double is 4 words. */
OpenPOWER on IntegriCloud