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:
parent
3a26c7b3a3
commit
efe0fd930e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user