From: Kazu Hirata Date: Sun, 30 Nov 2003 04:31:04 +0000 (+0000) Subject: * config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG. X-Git-Tag: releases/gcc-3.4.0~2026 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1dce8d1ea700fd91a1d481bdaa0d1fb1c52af27;p=thirdparty%2Fgcc.git * config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG. From-SVN: r74050 --- 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. */