diff options
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index eab937f..9131e83 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1864,10 +1864,12 @@ assemble_end_function (tree decl, const char *fnname ATTRIBUTE_UNUSED) save_text_section = in_section; switch_to_section (unlikely_text_section ()); +#ifdef ASM_DECLARE_FUNCTION_SIZE if (cold_function_name != NULL_TREE) ASM_DECLARE_FUNCTION_SIZE (asm_out_file, IDENTIFIER_POINTER (cold_function_name), decl); +#endif ASM_OUTPUT_LABEL (asm_out_file, crtl->subsections.cold_section_end_label); if (first_function_block_is_cold) switch_to_section (text_section); |