From 400ce94ca11cd574505aed347e005a49726d0d75 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 31 Jan 2004 22:38:00 +0000 Subject: [PATCH] xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT instead of gen_rtx_CONST_INT. * config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT instead of gen_rtx_CONST_INT. From-SVN: r77053 --- gcc/ChangeLog | 5 +++++ gcc/config/xtensa/xtensa.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ebdf3675d06..7cc4f9f1602 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-31 Kazu Hirata + + * config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT + instead of gen_rtx_CONST_INT. + 2004-01-31 Kazu Hirata * target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index 677a5268285..825205daa04 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -953,8 +953,7 @@ typedef struct xtensa_args { when count == 0 and the stack pointer when count > 0. */ #define DYNAMIC_CHAIN_ADDRESS(frame) \ - gen_rtx (PLUS, Pmode, frame, \ - gen_rtx_CONST_INT (VOIDmode, -3 * UNITS_PER_WORD)) + gen_rtx (PLUS, Pmode, frame, GEN_INT (-3 * UNITS_PER_WORD)) /* Define this if the return address of a particular stack frame is accessed from the frame pointer of the previous stack frame. */ -- 2.30.2