]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sparc.h (FUNCTION_PROFILER): Fix format string when TARGET_MEDANY.
authorDavid S. Miller <davem@tanya.rutgers.edu>
Fri, 17 Oct 1997 21:35:20 +0000 (21:35 +0000)
committerDoug Evans <devans@gcc.gnu.org>
Fri, 17 Oct 1997 21:35:20 +0000 (21:35 +0000)
* sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
TARGET_MEDANY.

From-SVN: r15974

gcc/ChangeLog
gcc/config/sparc/sparc.h

index 64e50ff42614acc00df651b06a4401f8823bf649..032236c1643d7a10002e01f93d11a3df23fcc797 100644 (file)
@@ -2,6 +2,8 @@ Fri Oct 17 17:13:42 1997  David S. Miller  <davem@tanya.rutgers.edu>
 
        * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
        * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
+       * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
+       TARGET_MEDANY.
 
 Fri Oct 17 13:39:56 1997  Doug Evans  <dje@canuck.cygnus.com>
 
index 205f59b8782f13de451ca487db34f765064907c7..73ebac0bf1fd9caba0f5d904aebddac434a43a74 100644 (file)
@@ -1656,7 +1656,7 @@ extern int leaf_function;
     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);                                   \