From: Mike Stump Date: Thu, 15 Aug 1996 20:00:54 +0000 (+0000) Subject: * arm.h (RETURN_ADDR_RTX): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a5d752611d3c403b92591f4f2cc83c5ffd9ccd5;p=gcc.git * arm.h (RETURN_ADDR_RTX): Define. From-SVN: r12645 --- diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index c60f1579027..520e61bdd77 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1721,6 +1721,14 @@ do { \ ASM_OUTPUT_INT (FILE, XEXP (DECL_RTL (FUNCTION), 0)); \ } while (0) +/* A C expression whose value is RTL representing the value of the return + address for the frame COUNT steps up from the current frame. */ + +#define RETURN_ADDR_RTX(COUNT, FRAME) \ + ((COUNT == 0) \ + ? gen_rtx (MEM, Pmode, plus_constant (FRAME, -4)) \ + : (rtx) 0) + /* Used to mask out junk bits from the return address, such as processor state, interrupt status, condition codes and the like. */ #define MASK_RETURN_ADDR \