except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary.
authorRichard Henderson <rth@redhat.com>
Sun, 20 May 2001 00:35:24 +0000 (17:35 -0700)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 20 May 2001 00:35:24 +0000 (00:35 +0000)
commit9e800206badd2be563d344e4a0aee83e3ac96f03
treeacfb4573f234684042fcc91f25abdf25bb73a6f5
parent878de307d62595211f10a0a88a9551215c14c898
except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary.

* except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
as ncessary.
(expand_eh_return): Convert between word_mode and Pmode.
* unwind-dw2.c (extract_cie_info): Do not assume words and pointers
are the same size.
(execute_stack_op): Likewise.
(execute_cfa_program): Likewise.
(uw_frame_state_for): Likewise.
(uw_update_context_1): Likewise.
* unwind.inc (_Unwind_Reason_Code): Likewise.
* config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
(EH_RETURN_STACKADJ_RTX): Likewise.
* config/mips/mips.c (compute_frame_size): Make space for saving
EH return registers.
(mips_expand_epilogue): Handle EH stack adjustments.
* config/mips/mips.md (eh_return): New pattern.
(eh_set_lr_si): Likewise.
(eh_set_lr_di): Likewise.
Add splitter to perform EH return after reload.

From-SVN: r42332
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.md
gcc/except.c
gcc/unwind-dw2.c
gcc/unwind.inc