diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-08 19:55:57 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-08 19:55:57 +0000 |
commit | 85ae73e8cec450fca3ad44f11ba6c961a150300a (patch) | |
tree | f1cd605c4fdd2d9ac8a6658db5b0993421ca3959 /gcc/config/m88k/m88k.c | |
parent | 8adfb228af8ff3e60dae0200de9c8a0df20f9d45 (diff) | |
download | gcc-85ae73e8cec450fca3ad44f11ba6c961a150300a.tar.gz |
* final.c (no_asm_to_stream): New.
(final_scan_insn): Use target structures for prologue ends
and epilogue starts.
* output.h (no_asm_to_stream): New.
* target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
(TARGET_ASM_OUT): Update.
* target.h (struct gcc_target): New members function_end_prologue
and function_begin_epilogue.
config:
* 1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
* alpha/alpha-protos.h (output_end_prologue): Delete.
* alpha/alpha.c (output_end_prologue): Rename to
alpha_output_function_end_prologue. Use in target struct
and make static.
* alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
* ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
* ia64/ia64.c (ia64_output_end_prologue): Rename to
ia64_output_function_end_prologue. Use in target struct
and make static.
(ia64_function_prologue, ia64_funciton_epilogue): Rename
mistyped prototypes.
* ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
* m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue): Delete.
* m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
an use in target struct, make static.
* ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43849 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m88k/m88k.c')
-rw-r--r-- | gcc/config/m88k/m88k.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/config/m88k/m88k.c b/gcc/config/m88k/m88k.c index 80867f2df06..63e46448bfc 100644 --- a/gcc/config/m88k/m88k.c +++ b/gcc/config/m88k/m88k.c @@ -65,10 +65,16 @@ enum processor_type m88k_cpu; /* target cpu */ static void m88k_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); static void m88k_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); +static void m88k_output_function_end_prologue PARAMS ((FILE *)); +static void m88k_output_function_begin_epilogue PARAMS ((FILE *)); /* Initialize the GCC target structure. */ #undef TARGET_ASM_FUNCTION_PROLOGUE #define TARGET_ASM_FUNCTION_PROLOGUE m88k_output_function_prologue +#undef TARGET_ASM_FUNCTION_END_PROLOGUE +#define TARGET_ASM_FUNCTION_END_PROLOGUE m88k_output_function_end_prologue +#undef TARGET_ASM_FUNCTION_BEGIN_EPILOGUE +#define TARGET_ASM_FUNCTION_BEGIN_EPILOGUE m88k_output_function_begin_epilogue #undef TARGET_ASM_FUNCTION_EPILOGUE #define TARGET_ASM_FUNCTION_EPILOGUE m88k_output_function_epilogue @@ -1954,8 +1960,8 @@ m88k_output_function_prologue (stream, size) m88k_prologue_done = 1; /* it's ok now to put out ln directives */ } -void -m88k_end_prologue (stream) +static void +m88k_output_function_end_prologue (stream) FILE *stream; { if (TARGET_OCS_DEBUG_INFO && !prologue_marked) @@ -2031,8 +2037,8 @@ m88k_expand_prologue () This is mandatory because of alloca; we also take advantage of it to omit stack adjustments before returning. */ -void -m88k_begin_epilogue (stream) +static void +m88k_output_function_begin_epilogue (stream) FILE *stream; { if (TARGET_OCS_DEBUG_INFO && !epilogue_marked && prologue_marked) |