summaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorcchavva <cchavva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-06 01:23:13 +0000
committercchavva <cchavva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-06 01:23:13 +0000
commit104d98619f1d3268984c5c6ae36b6872e22ce62c (patch)
treeb7d306e1aa3339f74147d38e1d9fb9b6ebffe031 /gcc/output.h
parent4cd470f2036b765cfeab3880cf8ba8779cda8016 (diff)
downloadgcc-104d98619f1d3268984c5c6ae36b6872e22ce62c.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h
index ae0034f91ed..0cdb719174f 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -457,3 +457,6 @@ extern const char *user_label_prefix;
#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
(VAR) = ((SYMBOL_NAME) + ((SYMBOL_NAME)[0] == '*'))
#endif
+/* Assign unique numbers to labels generated for profiling. */
+
+int profile_label_no;