diff options
author | Richard Henderson <rth@redhat.com> | 2001-08-06 17:13:35 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-08-06 17:13:35 -0700 |
commit | 47907859fdd0b39ecb2a78c068872470f823329f (patch) | |
tree | fe1d06a13ef40c7bd7f7953e66a94a01e57f7d54 /gcc/ch | |
parent | 362b68a82dcf98169e852579a784dd4bddcccc25 (diff) | |
download | gcc-47907859fdd0b39ecb2a78c068872470f823329f.zip gcc-47907859fdd0b39ecb2a78c068872470f823329f.tar.gz gcc-47907859fdd0b39ecb2a78c068872470f823329f.tar.bz2 |
varasm.c (assemble_constructor): Take a symbol_ref and a priority instead of a bare string.
* 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.
From-SVN: r44678
Diffstat (limited to 'gcc/ch')
-rw-r--r-- | gcc/ch/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ch/grant.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index d242105..b1c048b 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,8 @@ +2001-08-06 Richard Henderson <rth@redhat.com> + + * grant.c (chill_finish_compile): Pass a symbol_ref and priority + to assemble_constructor. + 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> * Makefile.in (lex.o): No dependence on dwarfout.h. diff --git a/gcc/ch/grant.c b/gcc/ch/grant.c index 29e7ddc..c10eb99 100644 --- a/gcc/ch/grant.c +++ b/gcc/ch/grant.c @@ -3048,7 +3048,8 @@ chill_finish_compile () if (pass == 2) { - assemble_constructor (IDENTIFIER_POINTER (chill_init_name)); + assemble_constructor (XEXP (DECL_RTL (chill_init_function), 0), + DEFAULT_INIT_PRIORITY); globalize_decl (chill_init_function); } |