Commit 9684a840 by Eric Botcazou Committed by Eric Botcazou

sol2.h: Set SUPPORTS_INIT_PRIORITY to 0.

	* config/sparc/sol2.h: Set SUPPORTS_INIT_PRIORITY to 0.
	* config/sparc/sol2-gld.h: Set SUPPORTS_INIT_PRIORITY to 1.

From-SVN: r74740
parent 07e58265
2003-12-17 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sol2.h: Set SUPPORTS_INIT_PRIORITY to 0.
* config/sparc/sol2-gld.h: Set SUPPORTS_INIT_PRIORITY to 1.
2003-12-17 Richard Earnshaw <rearnsha@arm.com> 2003-12-17 Richard Earnshaw <rearnsha@arm.com>
* arm.c (thumb_base_register_rtx_p): Don't allow virtual registers * arm.c (thumb_base_register_rtx_p): Don't allow virtual registers
......
...@@ -4,3 +4,6 @@ ...@@ -4,3 +4,6 @@
/* Undefine this so that attribute((init_priority)) works. */ /* Undefine this so that attribute((init_priority)) works. */
#undef CTORS_SECTION_ASM_OP #undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP #undef DTORS_SECTION_ASM_OP
#undef SUPPORTS_INIT_PRIORITY
#define SUPPORTS_INIT_PRIORITY 1
...@@ -99,6 +99,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -99,6 +99,10 @@ Boston, MA 02111-1307, USA. */
((flag_pic || GLOBAL) ? DW_EH_PE_aligned : DW_EH_PE_absptr) ((flag_pic || GLOBAL) ? DW_EH_PE_aligned : DW_EH_PE_absptr)
#endif #endif
/* The Solaris linker doesn't understand constructor priorities. */
#undef SUPPORTS_INIT_PRIORITY
#define SUPPORTS_INIT_PRIORITY 0
/* ??? This does not work in SunOS 4.x, so it is not enabled in sparc.h. /* ??? This does not work in SunOS 4.x, so it is not enabled in sparc.h.
Instead, it is enabled here, because it does work under Solaris. */ Instead, it is enabled here, because it does work under Solaris. */
/* Define for support of TFmode long double. /* Define for support of TFmode long double.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment