rs6000.c: Avoid creating a stack frame under SYSV ABI if we only need to save LR.

* rs6000.c: Avoid creating a stack frame under SYSV ABI if we
        only need to save LR.

From-SVN: r16140
This commit is contained in:
Geoff Keating 1997-10-21 18:31:13 -06:00 committed by Jeff Law
parent d5255ba2cb
commit 1a98615242
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
* rs6000.c: Avoid creating a stack frame under SYSV ABI if we
only need to save LR.
Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
* mn10200.c (expand_prologue): Fix typo.

View file

@ -3168,7 +3168,8 @@ rs6000_stack_info ()
else if (abi == ABI_V4 || abi == ABI_NT || abi == ABI_SOLARIS)
info_ptr->push_p = (total_raw_size > info_ptr->fixed_size
|| info_ptr->lr_save_p);
|| (abi == ABI_NT ? info_ptr->lr_save_p
: info_ptr->calls_p));
else
info_ptr->push_p = (frame_pointer_needed