This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, ARM] ARM EHABI support for Objective-C (libobjc)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]