aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mn10300/mn10300.h
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1997-04-03 15:20:18 -0700
committerJeff Law <law@gcc.gnu.org>1997-04-03 15:20:18 -0700
commit3dbc43d13a314775b13218b9180fb74059c18f53 (patch)
tree805ec6f5c2e23b71123ddb1ad2f5a39d79e1fb09 /gcc/config/mn10300/mn10300.h
parent24e46fc4024935f88a26e801b64a1ddf21eff40c (diff)
downloadgcc-3dbc43d13a314775b13218b9180fb74059c18f53.zip
gcc-3dbc43d13a314775b13218b9180fb74059c18f53.tar.gz
gcc-3dbc43d13a314775b13218b9180fb74059c18f53.tar.bz2
mn10300.c (can_use_return_insn): Add size of fixed stack space for function calls into the size of the frame.
* mn10300.c (can_use_return_insn): Add size of fixed stack space for function calls into the size of the frame. */ (expand_prologue, expand_epilogue): Likewise. (initial_offset): Corresponding changes.. * mn10300.h (OUTGOING_REG_PARM_STACK_SPACE): No longer define. (STACK_POINTER_OFFSET): Define. * mn10300.md (call, call_value expanders): Don't adjust the stack pointer here anymore. * mn10300.md (ashlsi3): Remove some alternatives which are no longer needed or desired. From-SVN: r13837
Diffstat (limited to 'gcc/config/mn10300/mn10300.h')
-rw-r--r--gcc/config/mn10300/mn10300.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h
index f70b6bf..d850641 100644
--- a/gcc/config/mn10300/mn10300.h
+++ b/gcc/config/mn10300/mn10300.h
@@ -423,7 +423,10 @@ enum reg_class {
/* We use d0/d1 for passing parameters, so allocate 8 bytes of space
for a register flushback area. */
#define REG_PARM_STACK_SPACE(DECL) 8
-#define OUTGOING_REG_PARM_STACK_SPACE
+
+/* So we can allocate space for return pointers once for the function
+ instead of around every call. */
+#define STACK_POINTER_OFFSET 4
/* 1 if N is a possible register number for function argument passing.
On the MN10300, no registers are used in this way. */