* config/ia64/unwind-ia64.c (ia64_copy_rbs): New function.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Dec 2003 14:00:53 +0000 (14:00 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Dec 2003 14:00:53 +0000 (14:00 +0000)
commit754355026012435084d70a4f074eea9c1774805f
tree7faf100b24bd243e8eba0de3b6bf9f538ba40ee2
parent55a723b13d2c741599667e6b2bf5decc2b603ab4
* config/ia64/unwind-ia64.c (ia64_copy_rbs): New function.
(unw_access_gr): Only call ia64_rse_rnat_addr if addr is above
regstk_top.
(uw_frame_state_for): Handle locations inside bundles.
(uw_init_context_1): Initialize context->rnat.
Set context->regstk_top to lowest rbs address which has nat collection
in context->rnat.
(uw_install_context): Fix rnat restoring.
Restore ar.rsc to previous state.
* config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR,
MD_HANDLE_UNWABI): Handle unwinding through SA_ONSTACK frames.

* gcc.dg/cleanup-10.c: New test.
* gcc.dg/cleanup-11.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74835 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/ia64/linux.h
gcc/config/ia64/unwind-ia64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cleanup-10.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cleanup-11.c [new file with mode: 0644]