summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sparc.h3
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.