Be a little more careful when calling _mcount() (to prevent

clobbering $27).
This commit is contained in:
thorpej 2002-01-22 02:09:39 +00:00
parent 66a56d4efe
commit 3ef3a0aa2f
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ Boston, MA 02111-1307, USA. */
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
fputs ("\tjsr $28,_mcount\n", (FILE))
fputs ("\tlda $28,_mcount\n\tjsr $28,($28),_mcount\n", (FILE))
/* Show that we need a GP when profiling. */
#define TARGET_PROFILING_NEEDS_GP