diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-08-15 20:00:54 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-08-15 20:00:54 +0000 |
commit | 62a5c607d1269fd3223f906713661fee608a6e86 (patch) | |
tree | 939205c41e10200e12820f949c55a1da5045680f | |
parent | 9d148596538b19557e64c73e38529a530ae07208 (diff) | |
download | gcc-62a5c607d1269fd3223f906713661fee608a6e86.tar.gz |
* arm.h (RETURN_ADDR_RTX): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12645 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/config/arm/arm.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 \ |