IA64 HP-UX Unwind patch

Richard Henderson rth@redhat.com
Thu Aug 15 10:37:00 GMT 2002


On Thu, Aug 15, 2002 at 09:47:04AM -0700, Steve Ellcey wrote:
> The main concern I have is whether or not
> changing catchTemp in the __cxa_exception structure from void* to
> _Unwind_Ptr would have any effect on other platforms.

I can't think of anything off-hand.

> 	* gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
> 	(_Unwind_Internal_Ptr): 32 bit version for use in
> 	read_encoded_value_with_base.
> 	* gcc/unwind-pe.h (read_encoded_value_with_base): Use
> 	_Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
> 	right size.
> 	* libstdc++-v3/libsupc++/unwind-cxx.h (__cxa_exception):
> 	Change catchTemp type from void* to _Unwind_Ptr.
> 	* libstdc++-v3/libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
> 	Do not cast landing_pad or base_of_encoded_value to (void *).
> 	* libstdc++-v3/libsupc++/eh_throw.cc (__gxx_exception_cleanup):
> 	Accept _URC_NO_REASON as a valid reason code.

Ok.


r~



More information about the Libstdc++ mailing list