diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-07 00:13:35 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-07 00:13:35 +0000 |
commit | 14cd71feb3713a48b99a39292f3a90980890032e (patch) | |
tree | fe1d06a13ef40c7bd7f7953e66a94a01e57f7d54 /gcc/output.h | |
parent | 367a6c4cc42251aca1ffffd2f4ce50bc944633f4 (diff) | |
download | ppe42-gcc-14cd71feb3713a48b99a39292f3a90980890032e.tar.gz ppe42-gcc-14cd71feb3713a48b99a39292f3a90980890032e.zip |
* varasm.c (assemble_constructor): Take a symbol_ref and a
priority instead of a bare string. Move priority handling
here from cp/decl2.c.
* output.h: Update decls.
* c-decl.c (c_expand_body): Update calls to assemble_constructor
and assemble_destructor.
* profile.c (output_func_start_profiler): Likewise.
* objc/objc-act.c (finish_objc): Likewise.
(build_module_descriptor): Return the symbol not the symbol name.
* ch/grant.c (chill_finish_compile): Pass a symbol_ref and priority
to assemble_constructor.
* cp/decl2.c (finish_objects): Pass a symbol_ref and priority to
assemble_{constructor,destructor}. Remove priority handling.
* java/class.c (emit_register_classes): Pass a symbol_ref and priority
to assemble_constructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44678 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gcc/output.h b/gcc/output.h index f28c7afe2a6..574d6f654b2 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -257,16 +257,14 @@ extern void assemble_variable PARAMS ((tree, int, int, int)); extern void assemble_external PARAMS ((tree)); #endif /* TREE_CODE */ -/* Record an element in the table of global destructors. - How this is done depends on what sort of assembler and linker - are in use. - - NAME should be the name of a global function to be called - at exit time. This name is output using assemble_name. */ -extern void assemble_destructor PARAMS ((const char *)); +#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 ((const char *)); +extern void assemble_constructor PARAMS ((rtx, int)); +#endif /* Likewise for entries we want to record for garbage collection. Garbage collection is still under development. */ |