aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorChandrakala Chavva <cchavva@redhat.com>2001-02-05 20:23:13 -0500
committerChandra Chavva <cchavva@gcc.gnu.org>2001-02-05 20:23:13 -0500
commit411707f4e466b75ec2dac4d024195fd1999eeeec (patch)
treeb7d306e1aa3339f74147d38e1d9fb9b6ebffe031 /gcc/function.c
parent8720914be356a666c811a881e02ce92c3c9e4f92 (diff)
downloadgcc-411707f4e466b75ec2dac4d024195fd1999eeeec.zip
gcc-411707f4e466b75ec2dac4d024195fd1999eeeec.tar.gz
gcc-411707f4e466b75ec2dac4d024195fd1999eeeec.tar.bz2
final.c: Move the declaration profile_label_no to ...
* final.c: Move the declaration profile_label_no to ... * output.h: ... here. * function.c (expand_function_start): Call PROFILE_HOOK. * config/rs6000/aix.h: Define PROFILE_HOOK. * config/rs6000/rs6000-protos.h: output_profile_hook new. * config/rs6000/rs6000.c (output_profile_hook): Define. (output_prolog): Do nothing for ABI_AIX as it is taken care by output_profile_hook. tm.texi : Explain new macro PROFILE_HOOK. From-SVN: r39473
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index e6d56f0..5421450 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -6471,6 +6471,11 @@ expand_function_start (subr, parms_have_cleanups)
Pmode);
}
+#ifdef PROFILE_HOOK
+ if (profile_flag)
+ PROFILE_HOOK (profile_label_no);
+#endif
+
/* After the display initializations is where the tail-recursion label
should go, if we end up needing one. Ensure we have a NOTE here
since some things (like trampolines) get placed before this. */