From e6ff425c0064f00c28315bdfa2624f556af17a2e Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Fri, 11 Jun 2004 18:13:32 +0000 Subject: [PATCH] * sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx. From-SVN: r82985 --- gcc/ChangeLog | 4 ++++ gcc/config/sh/sh.h | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b83e3e1b15e..fd017de3b8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-06-11 J"orn Rennecke + + * sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx. + 2004-06-11 Joseph S. Myers * doc/install.texi (Prerequisites): Update documentation of diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index fb8a16522cb..9cec69ad0c6 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -3305,10 +3305,7 @@ extern int rtx_equal_function_value_matters; & ~ CALL_COOKIE_RET_TRAMP (1)) \ || current_function_has_nonlocal_label)) \ ? (hard_reg) \ - : gen_rtx_MEM (Pmode, TARGET_SH5 \ - ? (plus_constant (arg_pointer_rtx, \ - TARGET_SHMEDIA64 ? -8 : -4)) \ - : frame_pointer_rtx)) \ + : gen_rtx_MEM (Pmode, return_address_pointer_rtx)) \ : NULL_RTX) #endif /* ! GCC_SH_H */ -- 2.30.2