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

--- Comment #17 from Jan Hubicka <hubicka at ucw dot cz> 2010-12-14 10:58:40 
UTC ---
> well.... the pre-existing implementation of :
> 
> static section *
> darwin_text_section (int reloc, int weak)
> {
>   if (reloc)
>     return (weak
>         ? darwin_sections[text_unlikely_coal_section]
>         : unlikely_text_section ());  <<<<<<<<+++++++++
>   else
>     return (weak
>         ? darwin_sections[text_coal_section]
>         : text_section);
> }
> 
> ...  is invoked when darwin_function_section () returns NULL.
The code probably should also disable itself with -fno-reorder-functions...

Honza

Reply via email to