aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-05-17 16:26:47 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-05-17 16:26:47 -0400
commit499df3393d411cdfb212ac6cb2fc7a127bcc2b3e (patch)
tree75b05315d0ebd8421845ee7851fc1ef6f483d40c /gcc/final.c
parent954a5693c0d9adf74cb0954c3006ce54d43f7661 (diff)
downloadgcc-499df3393d411cdfb212ac6cb2fc7a127bcc2b3e.zip
gcc-499df3393d411cdfb212ac6cb2fc7a127bcc2b3e.tar.gz
gcc-499df3393d411cdfb212ac6cb2fc7a127bcc2b3e.tar.bz2
(profile_function): Call function_section, not text_section.
From-SVN: r14076
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 9096d54..be46e06 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)