Commit d772039b by Richard Kenner

(INITIAL_ELIMINATION_OFFSET): Properly compute offset between AP and SP when...

(INITIAL_ELIMINATION_OFFSET): Properly compute offset between AP and
SP when get_frame_size and current_function_pretend_args_size are not
a multiple of 16 bytes.

From-SVN: r7801
parent 1b2c9988
......@@ -680,7 +680,9 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
else if ((FROM) == ARG_POINTER_REGNUM) \
(OFFSET) = (ALPHA_ROUND (current_function_outgoing_args_size) \
+ alpha_sa_size () \
+ ALPHA_ROUND (get_frame_size ())); \
+ (ALPHA_ROUND (get_frame_size () \
+ current_function_pretend_args_size) \
- current_function_pretend_args_size)); \
}
/* Define this if stack space is still allocated for a parameter passed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment