From: David S. Miller Date: Fri, 17 Oct 1997 21:35:20 +0000 (+0000) Subject: sparc.h (FUNCTION_PROFILER): Fix format string when TARGET_MEDANY. X-Git-Tag: releases/egcs-1.0.0~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da2a90f71a49981a421485781ccdc54cf420be44;p=thirdparty%2Fgcc.git sparc.h (FUNCTION_PROFILER): Fix format string when TARGET_MEDANY. * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when TARGET_MEDANY. From-SVN: r15974 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64e50ff42614..032236c1643d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -2,6 +2,8 @@ Fri Oct 17 17:13:42 1997 David S. Miller * 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 diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 205f59b8782f..73ebac0bf1fd 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -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); \