summaryrefslogtreecommitdiff
path: root/gcc/config/sol2.h
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 /gcc/config/sol2.h
parent71f63b3afea2a42556caf0a77e7fd20fdb085462 (diff)
downloadgcc-d53bdac843541faa3123e95f70e01da8eccfd8ca.tar.gz
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
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r--gcc/config/sol2.h6
1 files changed, 6 insertions, 0 deletions
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