diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2002-03-12 15:19:40 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2002-03-12 15:19:40 +0000 |
commit | cd49f0735dca5e48b3d110fef812398ef7ba55a6 (patch) | |
tree | 9ff7b2d3e690cf8500753723acc38a9c264f7813 /gcc | |
parent | 6a4e49c11d37b842954ce3edd38fded25e2411b2 (diff) | |
download | gcc-cd49f0735dca5e48b3d110fef812398ef7ba55a6.zip gcc-cd49f0735dca5e48b3d110fef812398ef7ba55a6.tar.gz gcc-cd49f0735dca5e48b3d110fef812398ef7ba55a6.tar.bz2 |
sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in address calculation.
* config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
address calculation.
From-SVN: r50654
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 6bbc35f..f487e64 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 c1e472d..aeb1078 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. |