[TILE-Gx/TILEPro,committed] mcount typo

Submitted by Walter Lee on Aug. 27, 2012, 6:38 p.m.

Details

Message ID 201208271838.q7RIc5Xp012355@farm-0038.internal.tilera.com
State New
Headers show

Commit Message

Walter Lee Aug. 27, 2012, 6:38 p.m.
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.

Patch hide | download patch | download mbox

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