FreeBSD/contrib/gcc/varasm.c
/* Return the section for function DECL.

   If DECL is NULL_TREE, return the text section.  We can be passed
   NULL_TREE under some circumstances by dbxout.c at least.  */
Return the section for function DECL.
If DECL is NULL_TREE, return the text section.  We can be passed
NULL_TREE under some circumstances by dbxout.c at least.
Return the section for function DECL . If DECL is NULL_TREE return the text section . We can be passed NULL_TREE under some circumstances by dbxout . c at least .
section *
function_section (tree decl)
{
  int reloc = 0;
  if (first_function_block_is_cold)
    reloc = 1;
#ifdef USE_SELECT_SECTION_FOR_FUNCTIONS
  if (decl != NULL_TREE
      && DECL_SECTION_NAME (decl) != NULL_TREE)
    return reloc ? unlikely_text_section ()
		 : get_named_section (decl, NULL, 0);
  else
    return targetm.asm_out.select_section (decl, reloc, DECL_ALIGN (decl));
#else
  return reloc ? unlikely_text_section () : hot_function_section (decl);
#endif
}
section * function_section ( tree decl ) { int reloc = 0 ; if ( first_function_block_is_cold ) reloc = 1 ; #ifdef USE_SELECT_SECTION_FOR_FUNCTIONS if ( decl != NULL_TREE && DECL_SECTION_NAME ( decl ) != NULL_TREE ) return reloc ? unlikely_text_section ( ) : get_named_section ( decl , NULL , 0 ) ; else return targetm . asm_out . select_section ( decl , reloc , DECL_ALIGN ( decl ) ) ; #else return reloc ? unlikely_text_section ( ) : hot_function_section ( decl ) ; #endif }
Return the section for function DECL.
Return the section for function DECL .