Fix profiling issue on H8 port
authorJeff Law <law@redhat.com>
Thu, 23 Jan 2020 22:55:20 +0000 (15:55 -0700)
committerJeff Law <law@redhat.com>
Thu, 23 Jan 2020 22:55:20 +0000 (15:55 -0700)
* config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of
profiling label

gcc/ChangeLog
gcc/config/h8300/h8300.h

index f2f77b7cdbcc999c08c2a6babaf38875c301e9fe..c00deeed142f97c570b6adfc579597adcae1c54f 100644 (file)
@@ -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
index 3e1595a8e1fef1c6e632d40beb525db12dea3246..32e5f7dc5cf3af34f95363172b70c83080e7eb66 100644 (file)
@@ -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,