aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/vax/elf.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a4a53a4..55764a2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-01 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
+
2002-10-01 Richard Henderson <rth@redhat.com>
* calls.c (precompute_register_parameters): Force non-legitimate
diff --git a/gcc/config/vax/elf.h b/gcc/config/vax/elf.h
index 2f1a375..ccdb74c 100644
--- a/gcc/config/vax/elf.h
+++ b/gcc/config/vax/elf.h
@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA. */
/* Profiling routine. */
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
- fprintf (FILE, "\tmovab .LP%d,%sr0\n\tjsb __mcount+2\n", (LABELNO), \
+ fprintf (FILE, "\tmovab .LP%d,%sr0\n\tjsb __mcount\n", (LABELNO), \
REGISTER_PREFIX)
/* Let's be re-entrant. */