This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, ARM] ARM EHABI support for Objective-C (libobjc)
- From: Andrew Haley <aph at redhat dot com>
- To: Julian Brown <julian at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 06 May 2008 16:54:00 +0100
- Subject: Re: [PATCH, ARM] ARM EHABI support for Objective-C (libobjc)
- References: <20080506141012.3c990cb2@boris.athome>
Julian Brown wrote:
> Hi,
>
> This patch implements exception-handling support for Objective-C on ARM
> EABI Linux systems, using the ARM-defined EHABI. This patch gets things
> working fairly well, though at least one issue remains -- but this is a
> start, at least.
Yes. The biggest problem is surely compatibility with things like cleanups
and foreign exceptions.
I think you need to do something like
#ifdef __ARM_EABI_UNWINDER__
if (saw_cleanup)
__cxa_begin_cleanup(ue_header);
#endif
at the end of the personality function.
Andrew.