gcc/libstdc++-v3/libsupc++
Nathan Sidwell 1dcca6f361 unwind-arm.h: Reorder interface function declarations.
2005-11-16  Nathan Sidwell  <nathan@codesourcery.com>
gcc/
	* config/arm/unwind-arm.h: Reorder interface function declarations.
	(_URC_END_OF_STACK): New enumeration value.
	(_US_UNWIND_ACTION_MASK, _US_FORCE_UNWIND, _US_END_OF_STACK): Likewise.
	(struct _Unwind_Control_Block): Document reserved field use.
	(_Unwind_Stop_Fn): New typedef.
	(_Unwind_ForcedUnwind): Declare.
	(_Unwind_Resume_or_Rethrow): Declare.
	* config/arm/libunwind.S (UNWIND_WRAPER): Add nargs
	argument.  Adjust.
	(_Unwind_Resume_or_Rethrow, _Unwind_ForcedUnwind): New.
	* config/arm/unwind-arm.c (UCB_FORCED_STOP_FN)
	(UCB_FORCED_STOP_ARG): New.
	(search_EIT_table): Update boundary condition checks.
	(get_eit_entry): Return _URC_END_OF_STACK when cannot unwind.
	(unwind_phase2): Replace for with do..while.
	(unwind_phase2_forced): New.
	(__gnu_Unwind_RaiseException): Replace for with do..while.
	(__gnu_Unwind_ForcedUnwind): New.
	(__gnu_Unwind_Resume): Set FORCE_UNWIND flag, if forced unwinding.
	Use appropriate phase2 unwinder.
	(__gnu_Unwind_Resume_or_Rethrow): New.
	(__gnu_unwind_pr_common): Cope with forced unwinding.
gcc/testsuite/
	* g++.dg/eh/forced1.C: Adjust to cope with ARM EABI
	structures.
	* g++.dg/eh/forced2.C: Likewise.
	* g++.dg/eh/forced3.C: Likewise.
	* g++.dg/eh/forced4.C: Likewise.
libstdc++-v3/
	* libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
	foreign exception too.
	(__gnu_end_cleanup): Recover a foreign exception too.
	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
	with forced unwinding.
	* libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
	_Unwind_Resume_or_Rethrow for ARM EABI.

From-SVN: r107089
2005-11-16 17:04:41 +00:00
..
Makefile.am All files: Update FSF address. 2005-08-17 02:28:44 +00:00
Makefile.in re PR libstdc++/22203 (std::numeric_limits<int>::traps is wrong on PPC) 2005-11-05 09:42:01 +00:00
cxxabi.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
del_op.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
del_opnt.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
del_opv.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
del_opvnt.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_alloc.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_arm.cc unwind-arm.h: Reorder interface function declarations. 2005-11-16 17:04:41 +00:00
eh_aux_runtime.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_call.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_catch.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_exception.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_globals.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_personality.cc unwind-arm.h: Reorder interface function declarations. 2005-11-16 17:04:41 +00:00
eh_term_handler.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_terminate.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_throw.cc unwind-arm.h: Reorder interface function declarations. 2005-11-16 17:04:41 +00:00
eh_type.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_unex_handler.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
exception All files: Update FSF address. 2005-08-17 02:28:44 +00:00
exception_defines.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
guard.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
new All files: Update FSF address. 2005-08-17 02:28:44 +00:00
new_handler.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
new_op.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
new_opnt.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
new_opv.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
new_opvnt.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
pure.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
tinfo.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
tinfo.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
tinfo2.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
typeinfo All files: Update FSF address. 2005-08-17 02:28:44 +00:00
unwind-cxx.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
vec.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
vterminate.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00