This patch fixes a typo in the mcount function_profiler.

        * config/tilegx/tilegx.c (tilegx_function_profiler): Fix typo.
        config/tilepro/tilepro.c (tilepro_function_profiler): Ditto.

Index: gcc/config/tilegx/tilegx.c
===================================================================
--- gcc/config/tilegx/tilegx.c  (revision 190721)
+++ gcc/config/tilegx/tilegx.c  (working copy)
@@ -5313,7 +5313,7 @@ tilegx_function_profiler (FILE *file, in
       fprintf (file,
               "\t{\n"
               "\tmove\tr10, lr\n"
-              "\tjal\t%s@plt\n"
+              "\tjal\tplt(%s)\n"
               "\t}\n", MCOUNT_NAME);
     }
   else
Index: gcc/config/tilepro/tilepro.c
===================================================================
--- gcc/config/tilepro/tilepro.c        (revision 190721)
+++ gcc/config/tilepro/tilepro.c        (working copy)
@@ -4914,7 +4914,7 @@ tilepro_function_profiler (FILE *file, i
       fprintf (file,
               "\t{\n"
               "\tmove\tr10, lr\n"
-              "\tjal\t%s@plt\n"
+              "\tjal\tplt(%s)\n"
               "\t}\n", MCOUNT_NAME);
     }
   else

Reply via email to