diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2002-10-26 19:25:26 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-10-26 19:25:26 +0000 |
commit | d7af42bcbc968f4af23a80a12c78c91099cbb487 (patch) | |
tree | 08928bc9bcb1ae758d76153ca036a0ff86ba3f7f /gcc | |
parent | 4b32269b1a6519d87ed572d380f31af32c8f7108 (diff) | |
download | gcc-d7af42bcbc968f4af23a80a12c78c91099cbb487.zip gcc-d7af42bcbc968f4af23a80a12c78c91099cbb487.tar.gz gcc-d7af42bcbc968f4af23a80a12c78c91099cbb487.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/h8300/h8300-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 2 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.h | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b57089d..61f3bfb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +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> * config/mmix/mmix.h (LIBCALL_VALUE): Use diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h index 9637aeb..c786f9f 100644 --- a/gcc/config/h8300/h8300-protos.h +++ b/gcc/config/h8300/h8300-protos.h @@ -75,7 +75,7 @@ extern int h8300_tiny_data_p PARAMS ((tree)); extern void h8300_init_once PARAMS ((void)); extern void asm_file_start 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 extern void h8300_pr_interrupt PARAMS ((cpp_reader *)); diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index ea3cf56..8461d5c 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -1610,7 +1610,7 @@ do_movsi (operands) the other its replacement, at the start of a routine. */ int -initial_offset (from, to) +h8300_initial_elimination_offset (from, to) int from, to; { int offset = 0; diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 38b7af7..e928f06 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -561,8 +561,8 @@ enum reg_class { /* Define the offset between two registers, one to be eliminated, and the other its replacement, at the start of a routine. */ -#define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \ - OFFSET = initial_offset (FROM, TO) +#define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \ + ((OFFSET) = h8300_initial_elimination_offset ((FROM), (TO))) /* Define how to find the value returned by a function. VALTYPE is the data type of the value (as a tree). |