> 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