summaryrefslogtreecommitdiff
path: root/gcc/config/m32c/m32c.h
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-06 01:54:29 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-06 01:54:29 +0000
commit2683d243b081247ebeed31139da1ca6a6d092a7d (patch)
tree2481e5ab7bea2904bff4c3224ec5a2f14782fa54 /gcc/config/m32c/m32c.h
parent4938323a763b82331fa0e961847bf50feabc1cb0 (diff)
downloadgcc-2683d243b081247ebeed31139da1ca6a6d092a7d.tar.gz
* config/m32c/m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c
vs m32c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112730 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32c/m32c.h')
-rw-r--r--gcc/config/m32c/m32c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/m32c/m32c.h b/gcc/config/m32c/m32c.h
index 3ac81a1ae26..5eb2aaecf2c 100644
--- a/gcc/config/m32c/m32c.h
+++ b/gcc/config/m32c/m32c.h
@@ -428,7 +428,7 @@ enum reg_class
#define RETURN_ADDR_RTX(COUNT,FA) m32c_return_addr_rtx (COUNT)
#define INCOMING_RETURN_ADDR_RTX m32c_incoming_return_addr_rtx()
-#define INCOMING_FRAME_SP_OFFSET 3
+#define INCOMING_FRAME_SP_OFFSET (TARGET_A24 ? 4 : 3)
/* Exception Handling Support */