Re: hot/cold vs glibc

2005-04-18 Thread Daniel Jacobowitz
On Mon, Apr 18, 2005 at 09:47:55AM -0700, Caroline Tice wrote: > Just out of curiousity, could you be more explicit about exactly how > having > an extra .text breaks the mechanism? That worries me... asm(".section .init"); void _init() { asm("@@@ MARKER @@@); } Then sed is used to separate

Re: hot/cold vs glibc

2005-04-18 Thread Caroline Tice
On Apr 18, 2005, at 8:35 AM, Daniel Jacobowitz wrote: Hi Caroline, You've made this change to assemble_start_function (unidiff format): + last_text_section = no_section; + in_section = no_section; resolve_unique_section (decl, 0, flag_function_sections); + + /* Switch to the correct text sect

hot/cold vs glibc

2005-04-18 Thread Daniel Jacobowitz
Hi Caroline, You've made this change to assemble_start_function (unidiff format): + last_text_section = no_section; + in_section = no_section; resolve_unique_section (decl, 0, flag_function_sections); + + /* Switch to the correct text section for the start of the function. */ + function