From b4c25db2dfed2c3c86dc6b61c6fc7eee757c6c71 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 8 Jul 2001 19:55:57 +0000 Subject: final.c (no_asm_to_stream): New. * 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. From-SVN: r43849 --- gcc/target-def.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/target-def.h') diff --git a/gcc/target-def.h b/gcc/target-def.h index c089493..ec0b660 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -25,10 +25,15 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. We want to have non-NULL default definitions of all hook functions, even if they do nothing. */ +/* Assembler output. */ #define TARGET_ASM_FUNCTION_PROLOGUE default_function_pro_epilogue #define TARGET_ASM_FUNCTION_EPILOGUE default_function_pro_epilogue +#define TARGET_ASM_FUNCTION_END_PROLOGUE no_asm_to_stream +#define TARGET_ASM_FUNCTION_BEGIN_EPILOGUE no_asm_to_stream -#define TARGET_ASM_OUT {TARGET_ASM_FUNCTION_PROLOGUE, \ +#define TARGET_ASM_OUT {TARGET_ASM_FUNCTION_PROLOGUE, \ + TARGET_ASM_FUNCTION_END_PROLOGUE, \ + TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, \ TARGET_ASM_FUNCTION_EPILOGUE} /* All in tree.c. */ -- cgit v1.1