* config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
authorJason Thorpe <thorpej@wasabisystems.com>
Wed, 2 Oct 2002 00:57:53 +0000 (00:57 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Wed, 2 Oct 2002 00:57:53 +0000 (00:57 +0000)
From-SVN: r57713

gcc/ChangeLog
gcc/config/vax/elf.h

index a4a53a4..55764a2 100644 (file)
@@ -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
index 2f1a375..ccdb74c 100644 (file)
@@ -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.  */