diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-11-15 15:58:13 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-11-15 15:58:13 +0000 |
commit | 6e70657aacba168b956acab7dffc8b84a186dcad (patch) | |
tree | 19845bcdfa99c744ef46c34dacd90fa56b563b44 | |
parent | 9c0787e298c5c25dbbbc200ce787802a6d87a177 (diff) | |
download | gcc-6e70657aacba168b956acab7dffc8b84a186dcad.zip gcc-6e70657aacba168b956acab7dffc8b84a186dcad.tar.gz gcc-6e70657aacba168b956acab7dffc8b84a186dcad.tar.bz2 |
sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sol2.h | 6 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 3 |
3 files changed, 11 insertions, 3 deletions
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 <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 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. */ |