* config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
HAS_INIT_SECTION to protection.
From-SVN: r55377
+2002-07-10 Douglas B Rupp <rupp@gnat.com>
+
+ * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
+ HAS_INIT_SECTION to protection.
+
2002-07-10 Mark Mitchell <mark@codesourcery.com>
* doc/invoke.texi (Debugging Options): Mention that -gdwarf is
2002-07-10 Mark Mitchell <mark@codesourcery.com>
* doc/invoke.texi (Debugging Options): Mention that -gdwarf is
static tree ix86_handle_cdecl_attribute PARAMS ((tree *, tree, tree, int, bool *));
static tree ix86_handle_regparm_attribute PARAMS ((tree *, tree, tree, int, bool *));
static tree ix86_handle_cdecl_attribute PARAMS ((tree *, tree, tree, int, bool *));
static tree ix86_handle_regparm_attribute PARAMS ((tree *, tree, tree, int, bool *));
-#ifdef DO_GLOBAL_CTORS_BODY
+#if defined (DO_GLOBAL_CTORS_BODY) && defined (HAS_INIT_SECTION)
static void ix86_svr3_asm_out_constructor PARAMS ((rtx, int));
#endif
static void ix86_svr3_asm_out_constructor PARAMS ((rtx, int));
#endif
-#ifdef DO_GLOBAL_CTORS_BODY
+#if defined (DO_GLOBAL_CTORS_BODY) && defined (HAS_INIT_SECTION)
static void
ix86_svr3_asm_out_constructor (symbol, priority)
rtx symbol;
static void
ix86_svr3_asm_out_constructor (symbol, priority)
rtx symbol;