Commit d7af42bc by Kazu Hirata Committed by Kazu Hirata

h8300.c (initial_offset): Change to h8300_initial_elimination_offset.

	* config/h8300/h8300.c (initial_offset): Change to
	h8300_initial_elimination_offset.
	* config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
	h8300_initial_elimination_offset.
	* config/h8300/h8300-protos.h: Update the prototype.

From-SVN: r58564
parent 4b32269b
2002-10-26 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (initial_offset): Change to
h8300_initial_elimination_offset.
* config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
h8300_initial_elimination_offset.
* config/h8300/h8300-protos.h: Update the prototype.
2002-10-26 Hans-Peter Nilsson <hp@bitrange.com> 2002-10-26 Hans-Peter Nilsson <hp@bitrange.com>
* config/mmix/mmix.h (LIBCALL_VALUE): Use * config/mmix/mmix.h (LIBCALL_VALUE): Use
......
...@@ -75,7 +75,7 @@ extern int h8300_tiny_data_p PARAMS ((tree)); ...@@ -75,7 +75,7 @@ extern int h8300_tiny_data_p PARAMS ((tree));
extern void h8300_init_once PARAMS ((void)); extern void h8300_init_once PARAMS ((void));
extern void asm_file_start PARAMS ((FILE *)); extern void asm_file_start PARAMS ((FILE *));
extern void asm_file_end PARAMS ((FILE *)); extern void asm_file_end PARAMS ((FILE *));
extern int initial_offset PARAMS ((int, int)); extern int h8300_initial_elimination_offset PARAMS ((int, int));
#ifdef GCC_C_PRAGMA_H #ifdef GCC_C_PRAGMA_H
extern void h8300_pr_interrupt PARAMS ((cpp_reader *)); extern void h8300_pr_interrupt PARAMS ((cpp_reader *));
......
...@@ -1610,7 +1610,7 @@ do_movsi (operands) ...@@ -1610,7 +1610,7 @@ do_movsi (operands)
the other its replacement, at the start of a routine. */ the other its replacement, at the start of a routine. */
int int
initial_offset (from, to) h8300_initial_elimination_offset (from, to)
int from, to; int from, to;
{ {
int offset = 0; int offset = 0;
......
...@@ -561,8 +561,8 @@ enum reg_class { ...@@ -561,8 +561,8 @@ enum reg_class {
/* Define the offset between two registers, one to be eliminated, and the other /* Define the offset between two registers, one to be eliminated, and the other
its replacement, at the start of a routine. */ its replacement, at the start of a routine. */
#define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \ #define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \
OFFSET = initial_offset (FROM, TO) ((OFFSET) = h8300_initial_elimination_offset ((FROM), (TO)))
/* Define how to find the value returned by a function. /* Define how to find the value returned by a function.
VALTYPE is the data type of the value (as a tree). VALTYPE is the data type of the value (as a tree).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment