From: Jeff Law Date: Thu, 23 Jan 2020 22:55:20 +0000 (-0700) Subject: Fix profiling issue on H8 port X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efe0fd930e41c0d8b94ec818fbb0f4ce2b4ef027;p=gcc.git Fix profiling issue on H8 port * config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of profiling label --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2f77b7cdbc..c00deeed142 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-23 Mikael Tillenius + + * config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of + profiling label + 2020-01-23 Jakub Jelinek PR rtl-optimization/93402 diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 3e1595a8e1f..32e5f7dc5cf 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,