This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: IA64 HP-UX Unwind patch
- From: Richard Henderson <rth at redhat dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 15 Aug 2002 10:37:08 -0700
- Subject: Re: IA64 HP-UX Unwind patch
- References: <200208151647.JAA25931@hpsje.cup.hp.com>
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~