> This has been filed as radar #10302855, but we need a work-around
> until that is resolved (possibly forever on older systems).
>
> OK for trunk?
> (what opinion about 4.6?)

Did you apply it to the 4.6 branch?  I think that this would be appropriate.

> ada:
>
>       PR target/50678
>       * init.c (Darwin/__gnat_error_handler): Transpose rbx and rdx in the
>       handler.

Sorry, I overlooked something here: there is a specific procedure to make this 
kind of adjustments.  The reason is that the adjustment needs to be made in 
the tasking case as well and __gnat_error_handler isn't used for this case.

So HAVE_GNAT_ADJUST_CONTEXT_FOR_RAISE must be defined in the Darwin-specific 
section and __gnat_adjust_context_for_raise implemented (with the standard 
prototype) and __gnat_error_handler changed to call it instead.

Would you mind adjusting the fix that way?  Thanks in advance.

-- 
Eric Botcazou

Reply via email to