mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
0669d0ed20
commit
225909c3c9
|
|
@ -1,3 +1,8 @@
|
||||||
|
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)
|
||||||
}
|
}
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue