(sparc_frw_output_function_prologue): Frame pointer base
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 13 Oct 1992 18:06:26 +0000 (11:06 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 13 Oct 1992 18:06:26 +0000 (11:06 -0700)
must be same as for regular sparc code.

From-SVN: r2429

gcc/config/sparc/sparc.c

index 2a6bcd061b2d00a725d8a3161f9c576358bdc0a5..d7614a11a7b588f99849d49fee2c85782268a06f 100644 (file)
@@ -3350,7 +3350,7 @@ sparc_frw_output_function_prologue (file, size, ignored)
   int tsize;
   char *sp_str = reg_names[STACK_POINTER_REGNUM];
   frame_base_name
-    = (!frame_pointer_needed) ? "%sp+64" : reg_names[FRAME_POINTER_REGNUM];
+    = (!frame_pointer_needed) ? "%sp+80" : reg_names[FRAME_POINTER_REGNUM];
 
   fprintf (file, "\t!#PROLOGUE# 0\n");