aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-09 15:33:35 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-09 15:33:35 -0700
commit2cc07db4b089b8b3df05261f1d7acbc96d2e720a (patch)
treeddb2d5519f49bc33648c25225b8b8ba84df590b9 /gcc/output.h
parentef8d8b8922a034dfac5cff9d5fa781dc57c49ed0 (diff)
downloadgcc-2cc07db4b089b8b3df05261f1d7acbc96d2e720a.zip
gcc-2cc07db4b089b8b3df05261f1d7acbc96d2e720a.tar.gz
gcc-2cc07db4b089b8b3df05261f1d7acbc96d2e720a.tar.bz2
Move constructor/destructor handling into target hooks.
From-SVN: r44747
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 1b4601e..a72f80d 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -257,15 +257,6 @@ extern void assemble_variable PARAMS ((tree, int, int, int));
extern void assemble_external PARAMS ((tree));
#endif /* TREE_CODE */
-#ifdef RTX_CODE
-/* Record an element in the table of global destructors. The argument
- should be a SYMBOL_REF of the function to be called. */
-extern void assemble_destructor PARAMS ((rtx, int));
-
-/* Likewise for global constructors. */
-extern void assemble_constructor PARAMS ((rtx, int));
-#endif
-
/* Assemble code to leave SIZE bytes of zeros. */
extern void assemble_zeros PARAMS ((int));
@@ -476,3 +467,13 @@ extern void default_coff_asm_named_section PARAMS ((const char *, unsigned int,
extern void default_pe_asm_named_section PARAMS ((const char *, unsigned int,
unsigned int));
+extern void default_stabs_asm_out_destructor PARAMS ((struct rtx_def *, int));
+extern void default_named_section_asm_out_destructor PARAMS ((struct rtx_def *,
+ int));
+extern void default_dtor_section_asm_out_destructor PARAMS ((struct rtx_def *,
+ int));
+extern void default_stabs_asm_out_constructor PARAMS ((struct rtx_def *, int));
+extern void default_named_section_asm_out_constructor PARAMS ((struct rtx_def *,
+ int));
+extern void default_ctor_section_asm_out_constructor PARAMS ((struct rtx_def *,
+ int));