]> git.ipfire.org Git - thirdparty/gcc.git/commit
unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Jul 2003 11:52:55 +0000 (13:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Jul 2003 11:52:55 +0000 (13:52 +0200)
commitfc4767bbb69323f65b841b350a8d67742a83a89d
treeda08a4ceb1400ad593f6a055dc2999c204a77e07
parent6972c506d47a918744940e9af28a85d67e446090
unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.

* unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
(uw_update_context_1): Use it.
* config/rs6000/rs6000.c (insn_after_throw): Remove.
(rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
in parent frame if _Unwind_* called directly instead of through
.plt.
(rs6000_emit_eh_toc_restore): Remove.
(rs6000_emit_prologue): Update stack pointer before doing any saving
if current_function_calls_eh_return.  Generate unwind info for $r2.
(rs6000_emit_epilogue): Restore stack pointer after doing all
restoring if current_function_calls_eh_return.  Restore $r2.
* config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
* config/rs6000/rs6000.md (eh_return): Remove call to
rs6000_emit_eh_toc_restore.
* config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
* config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.

* gcc.dg/cleanup-8.c: New test.
* gcc.dg/cleanup-9.c: New test.

From-SVN: r69450
gcc/ChangeLog
gcc/config/rs6000/aix.h
gcc/config/rs6000/linux64.h
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cleanup-8.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cleanup-9.c [new file with mode: 0644]
gcc/unwind-dw2.c