From 6e70657aacba168b956acab7dffc8b84a186dcad Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 15 Nov 2004 15:58:13 +0000 Subject: sol2.h (SUPPORTS_INIT_PRIORITY): Remove. 2004-11-15 Mark Mitchell * config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove. * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here. From-SVN: r90670 --- gcc/ChangeLog | 5 +++++ gcc/config/sol2.h | 6 ++++++ gcc/config/sparc/sol2.h | 3 --- 3 files changed, 11 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6a8eda1..0ce14d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-11-15 Mark Mitchell + * config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove. + * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here. + +2004-11-15 Mark Mitchell + * 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 ddad7c1..07994e2 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 8b5edb0..2739840 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. */ -- cgit v1.1