From 3ef3a0aa2f2535e8032b6929ca216857073d51a1 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 22 Jan 2002 02:09:39 +0000 Subject: [PATCH] Be a little more careful when calling _mcount() (to prevent clobbering $27). --- gnu/dist/toolchain/gcc/config/alpha/netbsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/dist/toolchain/gcc/config/alpha/netbsd.h b/gnu/dist/toolchain/gcc/config/alpha/netbsd.h index 63bb5f35eac6..19fa64c157b0 100644 --- a/gnu/dist/toolchain/gcc/config/alpha/netbsd.h +++ b/gnu/dist/toolchain/gcc/config/alpha/netbsd.h @@ -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