From: Richard Kenner Date: Fri, 6 Oct 1995 17:24:35 +0000 (-0400) Subject: (RETURN_ADDRESS_OFFSET): Correct previous change. X-Git-Tag: misc/cutover-egcs-0~3531 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5731aa1257569b40515d4bc59a31fcf536ca6b0b;p=thirdparty%2Fgcc.git (RETURN_ADDRESS_OFFSET): Correct previous change. From-SVN: r10433 --- diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 5e7a6e67275f..0bd902de3895 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1248,7 +1248,12 @@ typedef struct rs6000_args /* #define RETURN_ADDR_IN_PREVIOUS_FRAME */ /* Number of bytes into the frame return addresses can be found. */ -#define RETURN_ADDRESS_OFFSET (v4_call_p ? (TARGET_64BIT ? 8 : 4) : 8) +#ifndef TARGET_V4_CALLS +#define RETURN_ADDRESS_OFFSET 8 +#else +#define RETURN_ADDRESS_OFFSET \ + ((TARGET_V4_CALLS) ? (TARGET_64BIT ? 8 : 4) : 8) +#endif /* The current return address is in link register (65). The return address of anything farther back is accessed normally at an offset of 8 from the