diff options
author | David S. Miller <davem@tanya.rutgers.edu> | 1997-09-22 17:34:49 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-22 11:34:49 -0600 |
commit | d70276675c27fde7ac40da9d59d1b49c7a0be851 (patch) | |
tree | 437d7521ce96baa6a8359b252d6fbcb51603c9b2 | |
parent | fbf8b71c36b4c47adc8fa005e97070ca4ece8668 (diff) | |
download | gcc-d70276675c27fde7ac40da9d59d1b49c7a0be851.zip gcc-d70276675c27fde7ac40da9d59d1b49c7a0be851.tar.gz gcc-d70276675c27fde7ac40da9d59d1b49c7a0be851.tar.bz2 |
sparc.h (INCOMING_FRAME_SP_OFFSET): Define to SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
* sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
From-SVN: r15628
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 40f26a6..a26d57c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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.. diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 81b9047..f3dacd8 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -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 |