This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[TILE-Gx/TILEPro, committed] mcount typo
- From: Walter Lee <walt at tilera dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 27 Aug 2012 14:38:05 -0400
- Subject: [TILE-Gx/TILEPro, committed] mcount typo
- Reply-to: Walter Lee <walt at tilera dot com>
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