From cde0a5d6aad36e381ba8f643bcd5351f7aeeecb7 Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 2 Oct 2002 00:50:24 +0000 Subject: [PATCH] __mcount uses jsb linkage, so there is no need to skip the (non-existent) register save mask. Profiling now works. Also, use asm_fprintf() in FUNCTION_PROFILER. --- gnu/dist/toolchain/gcc/config/vax/netbsd-elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/dist/toolchain/gcc/config/vax/netbsd-elf.h b/gnu/dist/toolchain/gcc/config/vax/netbsd-elf.h index f996e9c5ecb4..cb8abfc3c47f 100644 --- a/gnu/dist/toolchain/gcc/config/vax/netbsd-elf.h +++ b/gnu/dist/toolchain/gcc/config/vax/netbsd-elf.h @@ -72,7 +72,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef FUNCTION_PROFILER #define FUNCTION_PROFILER(FILE, LABELNO) \ - fprintf (FILE, "\tmovab .LP%d,r0\n\tjsb __mcount+2\n", (LABELNO)) + asm_fprintf (FILE, "\tmovab .LP%d,%Rr0\n\tjsb __mcount\n", (LABELNO)) /* Use sjlj exceptions. */ #undef DWARF2_UNWIND_INFO /* just to be safe */