diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-12 15:19:40 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-12 15:19:40 +0000 |
commit | a32f0634a90630600e735d69808077cbf567f8bf (patch) | |
tree | 9ff7b2d3e690cf8500753723acc38a9c264f7813 /gcc | |
parent | dc4951d98a46e535b6ebb5569cb2e76eadf82897 (diff) | |
download | gcc-a32f0634a90630600e735d69808077cbf567f8bf.tar.gz |
* config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
address calculation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50654 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bbc35f9f51..f487e6469bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-12 Andrew MacLeod <amacleod@redhat.com> + + * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in + address calculation. + 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> * config/s390/s390.md (reload_insi, reload_indi): Change mode of diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index c1e472de7d6..aeb107880c4 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1949,7 +1949,8 @@ do { \ ? gen_rtx_REG (Pmode, 31) \ : gen_rtx_MEM (Pmode, \ memory_address (Pmode, plus_constant (frame, \ - 15 * UNITS_PER_WORD)))) + 15 * UNITS_PER_WORD \ + + SPARC_STACK_BIAS)))) /* Before the prologue, the return address is %o7 + 8. OK, sometimes it's +12, but always using +8 is close enough for frame unwind purposes. |