Commit 225909c3 by Jeff Sturm Committed by Richard Henderson

sparc.c (compute_frame_size): Don't correct frame offset for stack bias.

        * config/sparc/sparc.c (compute_frame_size): Don't correct frame
        offset for stack bias.

From-SVN: r49582
parent 0669d0ed
2002-02-07 Jeff Sturm <jsturm@one-point.com>
* config/sparc/sparc.c (compute_frame_size): Don't correct frame
offset for stack bias.
2002-02-07 H.J. Lu <hjl@gnu.org> 2002-02-07 H.J. Lu <hjl@gnu.org>
* config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
......
...@@ -3383,9 +3383,8 @@ compute_frame_size (size, leaf_function) ...@@ -3383,9 +3383,8 @@ compute_frame_size (size, leaf_function)
} }
else else
{ {
/* We subtract STARTING_FRAME_OFFSET, remember it's negative. /* We subtract STARTING_FRAME_OFFSET, remember it's negative. */
The stack bias (if any) is taken out to undo its effects. */ apparent_fsize = (size - STARTING_FRAME_OFFSET + 7) & -8;
apparent_fsize = (size - STARTING_FRAME_OFFSET + SPARC_STACK_BIAS + 7) & -8;
apparent_fsize += n_regs * 4; apparent_fsize += n_regs * 4;
actual_fsize = apparent_fsize + ((outgoing_args_size + 7) & -8); actual_fsize = apparent_fsize + ((outgoing_args_size + 7) & -8);
} }
......
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