http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49887

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> 2011-07-29 12:58:25 UTC ---
> --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
> Uni-Bielefeld.DE> 2011-07-28 14:52:35 UTC ---
>> --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-28 
>> 14:45:11 UTC ---
>> So, how are the group signature symbols supposed to be emitted on
>> SPARC/Solaris?  A dummy symbol of that name somewhere in the section?  Can it
>> be local, or must it be global symbol?
>
> This is usually handled in gcc/config/sol2.c
> (solaris_elf_asm_comdat_section, solaris_define_comdat_signature,
> solaris_code_end).  I haven't yet checked why this doesn't trigger here.

I see now what's going on: output_macinfo is run from toplev.c (compile_file):

    (*debug_hooks->finish) (main_input_filename);

which runs *after*

    targetm.asm_out.code_end ();

I've no idea what's a good way to resolve this.

    Rainer

Reply via email to