[gcc(refs/vendors/redhat/heads/gcc-10-branch)] Fix profiling issue on H8 port
Jakub Jelinek
jakub@gcc.gnu.org
Sun Jan 26 17:33:00 GMT 2020
https://gcc.gnu.org/g:efe0fd930e41c0d8b94ec818fbb0f4ce2b4ef027
commit efe0fd930e41c0d8b94ec818fbb0f4ce2b4ef027
Author: Jeff Law <law@redhat.com>
Date: Thu Jan 23 15:55:20 2020 -0700
Fix profiling issue on H8 port
* config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of
profiling label
Diff:
---
gcc/ChangeLog | 5 +++++
gcc/config/h8300/h8300.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f2f77b7..c00deee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-23 Mikael Tillenius <mti-1@tillenius.com>
+
+ * config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of
+ profiling label
+
2020-01-23 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/93402
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 3e1595a..32e5f7d 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -434,7 +434,7 @@ struct cum_arg
for profiling a function entry. */
#define FUNCTION_PROFILER(FILE, LABELNO) \
- fprintf (FILE, "\t%s\t#LP%d,%s\n\tjsr @mcount\n", \
+ fprintf (FILE, "\t%s\t#.LP%d,%s\n\tjsr @mcount\n", \
h8_mov_op, (LABELNO), h8_reg_names[0]);
/* EXIT_IGNORE_STACK should be nonzero if, when returning from a function,
More information about the Gcc-cvs
mailing list