sparc.h (INCOMING_FRAME_SP_OFFSET): Define to SPARC_STACK_BIAS for sake of dwarf2...
authorDavid S. Miller <davem@tanya.rutgers.edu>
Mon, 22 Sep 1997 17:34:49 +0000 (17:34 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 22 Sep 1997 17:34:49 +0000 (11:34 -0600)
        * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
        SPARC_STACK_BIAS for sake of dwarf2 on sparc64.

From-SVN: r15628

gcc/ChangeLog
gcc/config/sparc/sparc.h

index 40f26a668e3a9b164a526def54337f205f200d40..a26d57c2a4ed1d702936f0325d496810dbe7a149 100644 (file)
@@ -1,3 +1,8 @@
+Mon Sep 22 11:36:42 1997  David S. Miller  <davem@tanya.rutgers.edu>
+
+       * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
+       SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
+
 Mon Sep 22 11:21:33 1997  J. Kean Johnston  <jkj@sco.com>
 
        * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
index 81b90475eef71140b65d55c7c653271c58688452..f3dacd88fa50bcfbd8f5a6999a0b3c7fa80ca902 100644 (file)
@@ -3146,3 +3146,9 @@ extern int flag_pic;
    is something you can return to.  */
 #define INCOMING_RETURN_ADDR_RTX \
   gen_rtx (PLUS, word_mode, gen_rtx (REG, word_mode, 15), GEN_INT (8))
+
+/* The offset from the incoming value of %sp to the top of the stack frame
+   for the current function.  On sparc64, we have to account for the stack
+   bias if present.  */
+
+#define INCOMING_FRAME_SP_OFFSET SPARC_STACK_BIAS