Commit efe0fd93 by Jeff Law

Fix profiling issue on H8 port

	* config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of
	profiling label
parent 3a26c7b3
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> 2020-01-23 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/93402 PR rtl-optimization/93402
......
...@@ -434,7 +434,7 @@ struct cum_arg ...@@ -434,7 +434,7 @@ struct cum_arg
for profiling a function entry. */ for profiling a function entry. */
#define FUNCTION_PROFILER(FILE, LABELNO) \ #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]); h8_mov_op, (LABELNO), h8_reg_names[0]);
/* EXIT_IGNORE_STACK should be nonzero if, when returning from a function, /* EXIT_IGNORE_STACK should be nonzero if, when returning from a function,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment