From 499df3393d411cdfb212ac6cb2fc7a127bcc2b3e Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 17 May 1997 16:26:47 -0400 Subject: [PATCH] (profile_function): Call function_section, not text_section. From-SVN: r14076 --- gcc/final.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/final.c b/gcc/final.c index 9096d544718..be46e06c138 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1046,7 +1046,7 @@ profile_function (file) ASM_OUTPUT_INTERNAL_LABEL (file, "LP", profile_label_no); assemble_integer (const0_rtx, LONG_TYPE_SIZE / BITS_PER_UNIT, 1); - text_section (); + function_section (current_function_decl); #if defined(STRUCT_VALUE_INCOMING_REGNUM) && defined(ASM_OUTPUT_REG_PUSH) if (sval) -- 2.30.2