]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix comments and formatting related to RETURN_ADDR_RTX.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 3 Oct 1995 22:31:18 +0000 (18:31 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 3 Oct 1995 22:31:18 +0000 (18:31 -0400)
From-SVN: r10429

gcc/config/alpha/alpha.h

index 73a0f5487c355a9ed9e1736b82300a100706057b..e324e9b93a0557810ba2ef12b8500581039a5e04 100644 (file)
@@ -1088,13 +1088,21 @@ __enable_execute_stack (addr)                                           \
   if (mprotect (page, end - page, 7) < 0)                              \
     perror ("mprotect of trampoline code");                            \
 }
-\f
-#define RETURN_ADDR_RTX(count, frame)                                  \
-((count == 0 && alpha_sa_size () == 0 && 0 /* not right. */)           \
+
+/* A C expression whose value is RTL representing the value of the return
+   address for the frame COUNT steps up from the current frame.
+   FRAMEADDR is the frame pointer of the COUNT frame, or the frame pointer of
+   the COUNT-1 frame if RETURN_ADDR_IN_PREVIOUS_FRAME} is defined.
+
+   This definition for Alpha is broken, but is put in at the request of
+   Mike Stump.  */
+
+#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.  */
+           memory_address (Pmode, FRAME)))
+\f
 /* Addressing modes, and classification of registers for them.  */
 
 /* #define HAVE_POST_INCREMENT */