From: Douglas B Rupp Date: Wed, 10 Jul 2002 20:32:51 +0000 (+0000) Subject: i386.c (ix86_svr3_asm_out_constructor): Add HAS_INIT_SECTION to protection. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21c318ba4d9b2e6d4cbdd9241e8649f4c27c3098;p=gcc.git i386.c (ix86_svr3_asm_out_constructor): Add HAS_INIT_SECTION to protection. * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add HAS_INIT_SECTION to protection. From-SVN: r55377 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f39c2d2cb43..49fee82e0d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-07-10 Douglas B Rupp + + * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add + HAS_INIT_SECTION to protection. + 2002-07-10 Mark Mitchell * doc/invoke.texi (Debugging Options): Mention that -gdwarf is diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a17599a96a3..b21737f984c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -747,7 +747,7 @@ const struct attribute_spec ix86_attribute_table[]; 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 @@ -13517,7 +13517,7 @@ ix86_memory_move_cost (mode, class, in) } } -#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;