m68hc11.h (FUNCTION_PROFILER): Fix label name passed to mcount.
authorStephane Carrez <Stephane.Carrez@worldnet.fr>
Sun, 25 Nov 2001 16:28:14 +0000 (17:28 +0100)
committerStephane Carrez <ciceron@gcc.gnu.org>
Sun, 25 Nov 2001 16:28:14 +0000 (17:28 +0100)
* config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
passed to mcount.

From-SVN: r47319

gcc/ChangeLog
gcc/config/m68hc11/m68hc11.h

index a324088..a999fa9 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
+       passed to mcount.
+
 Sun Nov 25 06:22:09 2001  Douglas B. Rupp  <rupp@gnat.com>
 
        * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
index 3cd3a2a..8ac2f98 100644 (file)
@@ -1130,7 +1130,7 @@ typedef struct m68hc11_args
 /* Output assembler code to FILE to increment profiler label # LABELNO
    for profiling a function entry.  */
 #define FUNCTION_PROFILER(FILE, LABELNO)               \
-    asm_fprintf (FILE, "\tldy LP%d\n\tjsr mcount\n", (LABELNO))
+    asm_fprintf (FILE, "\tldy\t.LP%d\n\tjsr mcount\n", (LABELNO))
 
 /* Output assembler code to FILE to initialize this source file's
    basic block profiling info, if that has not already been done.  */