diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 391d0672d616..f2a88ffcea97 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-11-29 Kazu Hirata + + * config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG. + 2003-11-28 Gunther Nikl * config/m68k/m68k.c (MOTOROLA): Move from here... diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 5ae518b124a1..c377b57c96b1 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -615,7 +615,7 @@ enum reg_class { /* On the H8 the return value is in R0/R1. */ #define LIBCALL_VALUE(MODE) \ - gen_rtx_REG (MODE, 0) + gen_rtx_REG (MODE, R0_REG) /* 1 if N is a possible register number for a function value. On the H8, R0 is the only register thus used. */