diff options
| -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. */ |
