diff options
author | DJ Delorie <dj@redhat.com> | 2003-05-06 18:47:45 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2003-05-06 18:47:45 -0400 |
commit | 14b568327592995e3e9a1bd8762fab7aaeb8c040 (patch) | |
tree | ed6b2e0049796f510efd40c8f1f020cd513ad201 /gcc | |
parent | dea2913c145191964c7d6b4574373ab8c61488b8 (diff) | |
download | gcc-14b568327592995e3e9a1bd8762fab7aaeb8c040.zip gcc-14b568327592995e3e9a1bd8762fab7aaeb8c040.tar.gz gcc-14b568327592995e3e9a1bd8762fab7aaeb8c040.tar.bz2 |
stormy16.c (xstormy16_function_profiler): New.
* 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.
From-SVN: r66538
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16-protos.h | 3 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.c | 7 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.h | 2 |
4 files changed, 16 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 73764da..a5c4d99 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/stormy16/stormy16-protos.h b/gcc/config/stormy16/stormy16-protos.h index e957de1..1c4c3ce 100644 --- a/gcc/config/stormy16/stormy16-protos.h +++ b/gcc/config/stormy16/stormy16-protos.h @@ -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) diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c index d819981..e244a0c 100644 --- a/gcc/config/stormy16/stormy16.c +++ b/gcc/config/stormy16/stormy16.c @@ -1222,6 +1222,13 @@ xstormy16_epilogue_uses (regno) } return 0; } + +void +xstormy16_function_profiler () +{ + sorry ("function_profiler support"); +} + /* Return an updated summarizer variable CUM to advance past an argument in the argument list. The values MODE, TYPE and NAMED diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 9c1c6ca..8281356 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -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. */ |