aboutsummaryrefslogtreecommitdiff
path: root/gcc/target-def.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-07-08 19:55:57 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-07-08 19:55:57 +0000
commitb4c25db2dfed2c3c86dc6b61c6fc7eee757c6c71 (patch)
treef1cd605c4fdd2d9ac8a6658db5b0993421ca3959 /gcc/target-def.h
parent45c8268d06270cff703a2caf0d20eea043759bdc (diff)
downloadgcc-b4c25db2dfed2c3c86dc6b61c6fc7eee757c6c71.zip
gcc-b4c25db2dfed2c3c86dc6b61c6fc7eee757c6c71.tar.gz
gcc-b4c25db2dfed2c3c86dc6b61c6fc7eee757c6c71.tar.bz2
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
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r--gcc/target-def.h7
1 files changed, 6 insertions, 1 deletions
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. */