diff options
Diffstat (limited to 'contrib/gcc/config/sparc/sun4o3.h')
-rw-r--r-- | contrib/gcc/config/sparc/sun4o3.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/gcc/config/sparc/sun4o3.h b/contrib/gcc/config/sparc/sun4o3.h index 10c7391..d2a53c1 100644 --- a/contrib/gcc/config/sparc/sun4o3.h +++ b/contrib/gcc/config/sparc/sun4o3.h @@ -1,9 +1,9 @@ #include "sparc/sparc.h" -#undef FUNCTION_PROFILER -#define FUNCTION_PROFILER(FILE, LABELNO) \ - fprintf (FILE, "\tsethi %%hi(LP%d),%%o0\n\tcall .mcount\n\tor %%lo(LP%d),%%o0,%%o0\n", \ - (LABELNO), (LABELNO)) +/* Override the name of the mcount profiling function. */ + +#undef MCOUNT_FUNCTION +#define MCOUNT_FUNCTION "*.mcount" /* LINK_SPEC is needed only for SunOS 4. */ |