diff options
author | Douglas B Rupp <rupp@gnat.com> | 2002-07-10 20:32:51 +0000 |
---|---|---|
committer | Douglas Rupp <rupp@gcc.gnu.org> | 2002-07-10 20:32:51 +0000 |
commit | 21c318ba4d9b2e6d4cbdd9241e8649f4c27c3098 (patch) | |
tree | 7315564c5ae87244616cbb76526ef72bd2abcbd1 /gcc | |
parent | 537834c8a2dc22b0805e98f4f16e9adf231bea78 (diff) | |
download | gcc-21c318ba4d9b2e6d4cbdd9241e8649f4c27c3098.zip gcc-21c318ba4d9b2e6d4cbdd9241e8649f4c27c3098.tar.gz gcc-21c318ba4d9b2e6d4cbdd9241e8649f4c27c3098.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f39c2d2..49fee82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a17599a..b21737f 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; |