2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-24 12:31:25 +08:00

Fix profiling issue on H8 port

* config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of
	profiling label
This commit is contained in:
Jeff Law 2020-01-23 15:55:20 -07:00
parent 3a26c7b3a3
commit efe0fd930e
2 changed files with 6 additions and 1 deletions
gcc
ChangeLog
config/h8300

@ -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

@ -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,