mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
Fix profiling issue on H8 port
* config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of profiling label
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user