aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-10-03 11:51:51 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-10-03 11:51:51 -0400
commit6ea0cab3c42dd8fa9fe63e22f80cc4aa60500497 (patch)
treefa1e5df5655663ae5a9ad0354078b2fa6f7303bd /gcc
parent5b6faa7080f2a761933bf6f01816b33bf454705c (diff)
downloadgcc-6ea0cab3c42dd8fa9fe63e22f80cc4aa60500497.zip
gcc-6ea0cab3c42dd8fa9fe63e22f80cc4aa60500497.tar.gz
gcc-6ea0cab3c42dd8fa9fe63e22f80cc4aa60500497.tar.bz2
(RETURN_ADDR_RTX): New definition.
From-SVN: r10421
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/alpha/alpha.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index f4b76e8..73a0f54 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -1089,6 +1089,12 @@ __enable_execute_stack (addr) \
perror ("mprotect of trampoline code"); \
}
+#define RETURN_ADDR_RTX(count, frame) \
+((count == 0 && alpha_sa_size () == 0 && 0 /* not right. */) \
+ ? gen_rtx (REG, Pmode, 26) \
+ : gen_rtx (MEM, Pmode, \
+ memory_address (Pmode, frame)))
+ /* Addressing modes, and classification of registers for them. */
/* Addressing modes, and classification of registers for them. */
/* #define HAVE_POST_INCREMENT */