(RETURN_ADDR_RTX): New definition.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 3 Oct 1995 15:51:51 +0000 (11:51 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 3 Oct 1995 15:51:51 +0000 (11:51 -0400)
From-SVN: r10421

gcc/config/alpha/alpha.h

index f4b76e87c359aa1516028ad33745e908d07b21a1..73a0f5487c355a9ed9e1736b82300a100706057b 100644 (file)
@@ -1089,6 +1089,12 @@ __enable_execute_stack (addr)                                            \
     perror ("mprotect of trampoline code");                            \
 }
 \f
+#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 */