small fix for sparc64

David S. Miller davem@jenolan.rutgers.edu
Tue Oct 7 11:41:00 GMT 1997


Tue Oct  7 14:34:53 1997  David S. Miller  <davem@tanya.rutgers.edu>

	* config/sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
	TARGET_MEDANY.

--- config/sparc/sparc.h.~1~	Wed Sep 24 21:14:03 1997
+++ config/sparc/sparc.h	Tue Oct  7 14:34:42 1997
@@ -1724,7 +1724,7 @@
     assemble_name (FILE, buf);					\
     fputs ("),%o0\n", FILE);					\
     if (TARGET_MEDANY)						\
-      fprintf (FILE, "\tadd %o0,%s,%o0\n", MEDANY_BASE_REG);	\
+      fprintf (FILE, "\tadd %%o0,%s,%%o0\n", MEDANY_BASE_REG);	\
     fputs ("\tcall mcount\n\tadd %o0,%lo(", FILE);		\
     assemble_name (FILE, buf);					\
     fputs ("),%o0\n", FILE);					\



More information about the Gcc mailing list