(profile_function): Call function_section, not text_section.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 17 May 1997 20:26:47 +0000 (16:26 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 17 May 1997 20:26:47 +0000 (16:26 -0400)
From-SVN: r14076

gcc/final.c

index 9096d54..be46e06 100644 (file)
@@ -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)