Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+ * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
+ Call abort instead of fatal.
+ (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
+ * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
+ (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
+ (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
+ (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
+ * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
+
* diagnostic.h (set_internal_error_function): Renamed.
* toplev.h (internal_error): Renamed from fatal.
(pfatal_with_name): Deleted.
/* Definitions of target machine for GNU compiler,
for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers.
-
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by Denis Chertykov (denisc@overta.ru)
#define ASM_OUTPUT_REG_PUSH(STREAM, REGNO) \
{ \
if (REGNO > 31) \
- fatal("regno error in push"); \
+ abort (); \
fprintf (STREAM, "\tpush\tr%d", REGNO); \
}
/* A C expression to output to STREAM some assembler code which will
#define ASM_OUTPUT_REG_POP(STREAM, REGNO) \
{ \
if (REGNO > 31) \
- fatal("regno error in pop"); \
+ abort (); \
fprintf (STREAM, "\tpop\tr%d", REGNO); \
}
/* A C expression to output to STREAM some assembler code which will
-#define TRAMPOLINE_TEMPLATE(FILE) fatal ("Trampolines not supported\n")
+#define TRAMPOLINE_TEMPLATE(FILE) \
+ internal_error ("Trampolines not supported\n")
/* Length in units of the trampoline for entering a nested function. */
/* Output assembler code to FILE to increment profiler label # LABELNO
for profiling a function entry. */
-#define FUNCTION_PROFILER(FILE, LABELNO) fatal("Profiling not implemented yet.")
+#define FUNCTION_PROFILER(FILE, LABELNO) \
+ internal_error ("Profiling not implemented yet.")
/* Output assembler code to FILE to initialize this source file's
basic block profiling info, if that has not already been done. */
-#define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) fatal("Profiling not implemented yet.")
+#define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) \
+ internal_error ("Profiling not implemented yet.")
/* Output assembler code to FILE to increment the entry-count for
the BLOCKNO'th basic block in this source file. */
-#define BLOCK_PROFILER(FILE, BLOCKNO) fatal("Profiling not implemented yet.")
+#define BLOCK_PROFILER(FILE, BLOCKNO) \
+ internal_error ("Profiling not implemented yet.")
/* EXIT_IGNORE_STACK should be nonzero if, when returning from a function,
#define EXIT_IGNORE_STACK (0)
-#define TRAMPOLINE_TEMPLATE(FILE) fatal ("Trampolines not yet implemented");
+#define TRAMPOLINE_TEMPLATE(FILE) \
+ internal_error ("Trampolines not yet implemented");
/* Length in units of the trampoline for entering a nested function.
This is a dummy value */
CXT is an RTX for the static chain value for the function. */
#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \
- fatal ("Trampolines not yet implemented");
+ internal_error ("Trampolines not yet implemented");
/* This macro generates the assembly code for function exit,
on machines that need it. If FUNCTION_EPILOGUE is not defined
/* This is how to output an insn to push a register on the stack.
It need not be very fast code since it is used only for profiling */
-#define ASM_OUTPUT_REG_PUSH(FILE,REGNO) fatal("Profiling not implemented yet.");
+#define ASM_OUTPUT_REG_PUSH(FILE,REGNO) \
+ internal_error ("Profiling not implemented yet.");
/* This is how to output an insn to pop a register from the stack.
It need not be very fast code since it is used only for profiling */
-#define ASM_OUTPUT_REG_POP(FILE,REGNO) fatal("Profiling not implemented yet.");
+#define ASM_OUTPUT_REG_POP(FILE,REGNO) \
+ internal_error ("Profiling not implemented yet.");
\f
/* OUTPUT OF DISPATCH TABLES */