Patchwork [TILE-Gx/TILEPro,committed] mcount typo

login
register
mail settings
Submitter Walter Lee
Date Aug. 27, 2012, 6:38 p.m.
Message ID <201208271838.q7RIc5Xp012355@farm-0038.internal.tilera.com>
Download mbox | patch
Permalink /patch/180264/
State New
Headers show

Comments

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

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