]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/bfin/bfin.c
* config/bfin/bfin.c (n_dregs_to_save, n_pregs_to_save,
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Nov 2005 11:29:33 +0000 (11:29 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Nov 2005 11:29:33 +0000 (11:29 +0000)
commit345458f37f0b8f265755372eb4148510c08b8f2a
tree5bcf7bbd2f9f6163b05471cb42850dbddbfa018f
parent14aa86fc690c30e2dbc9cf9b73e6b07b9dfb0178
* config/bfin/bfin.c (n_dregs_to_save, n_pregs_to_save,
expand_prologue_reg_save, expand_epilogue_reg_restore): New argument
IS_INTHANDLER; all callers changed.
(n_regs_saved_by_prologue): Take interrupt handler attributes into
account.
(do_link, do_unlink): New argument ALL; all callers changed.
(expand_interrupt_handler_prologue, expand_interrupt_handler_epilogue):
If function isn't leaf, save and restore all registers.
(bfin_function_ok_for_sibcall): Only true if not an interrupt or
exception handler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106526 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/bfin/bfin.c