OSDN Git Service

* config/stormy16/stormy16.c (xstormy16_function_profiler): New.
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2003 22:47:45 +0000 (22:47 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2003 22:47:45 +0000 (22:47 +0000)
* config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it.
* config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66538 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/stormy16/stormy16-protos.h
gcc/config/stormy16/stormy16.c
gcc/config/stormy16/stormy16.h

index 73764da..a5c4d99 100644 (file)
@@ -1,3 +1,9 @@
+2003-05-06  DJ Delorie  <dj@redhat.com>
+
+       * config/stormy16/stormy16.c (xstormy16_function_profiler): New.
+       * config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it.
+       * config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New.
+
 2003-05-06    <neil@cat.daikokuya.co.uk>
 
        * c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
index e957de1..1c4c3ce 100644 (file)
@@ -1,5 +1,5 @@
 /* Prototypes for exported functions defined in xstormy16.c
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
    Contributed by Red Hat, Inc.
 
 This file is part of GNU CC.
@@ -29,6 +29,7 @@ extern int    xstormy16_initial_elimination_offset PARAMS ((int, int));
 extern int     direct_return PARAMS ((void));
 extern int     xstormy16_interrupt_function_p PARAMS ((void));
 extern int     xstormy16_epilogue_uses PARAMS ((int));
+extern void    xstormy16_function_profiler PARAMS ((void));
 
 #if defined (TREE_CODE)
 #  if defined (HAVE_MACHINE_MODES)
index d819981..e244a0c 100644 (file)
@@ -1222,6 +1222,13 @@ xstormy16_epilogue_uses (regno)
     }
   return 0;
 }
+
+void
+xstormy16_function_profiler ()
+{
+  sorry ("function_profiler support");
+}
+
 \f
 /* Return an updated summarizer variable CUM to advance past an
    argument in the argument list.  The values MODE, TYPE and NAMED
index 9c1c6ca..8281356 100644 (file)
@@ -1614,7 +1614,7 @@ enum reg_class
    This declaration must be present, but it can be an abort if profiling is
    not implemented.  */
      
-#define FUNCTION_PROFILER(FILE, LABELNO) abort ()
+#define FUNCTION_PROFILER(FILE, LABELNO) xstormy16_function_profiler ()
 
 /* Define this macro if the code for function profiling should come before the
    function prologue.  Normally, the profiling code comes after.  */